diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5fc43824..d65db0bb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Publish on: release: - types: [published, prereleased] + types: [published, created, edited] jobs: build: @@ -25,7 +25,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_release.outputs.upload_url }} + upload_url: ${{ github.event.release.upload_url }} asset_path: ./rebar3 asset_name: rebar3 asset_content_type: application/zip