diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 477e6be..ea8c18c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,23 +32,32 @@ jobs: # Verify changelog has entry with new version - - name: Create release - uses: actions/create-release@v1 - id: create_release + - name: Release + uses: softprops/action-gh-release@v1 + name: ${{ steps.version.outputs.version }} + fail_on_unmatched_files: true + prerelease: false + draft: false with: - draft: false - prerelease: false - release_name: ${{ steps.version.outputs.version }} - tag_name: ${{ github.ref }} - env: - GITHUB_TOKEN: ${{ github.token }} - - - name: Upload artifacts - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: static.zip - asset_name: static.zip - asset_content_type: application/gzip \ No newline at end of file + files: static.zip + + # - name: Create release + # uses: actions/create-release@v1 + # id: create_release + # with: + # draft: false + # prerelease: false + # release_name: ${{ steps.version.outputs.version }} + # tag_name: ${{ github.ref }} + # env: + # GITHUB_TOKEN: ${{ github.token }} + + # - name: Upload artifacts + # uses: actions/upload-release-asset@v1 + # env: + # GITHUB_TOKEN: ${{ github.token }} + # with: + # upload_url: ${{ steps.create_release.outputs.upload_url }} + # asset_path: static.zip + # asset_name: static.zip + # asset_content_type: application/gzip \ No newline at end of file