Browse Source

use event upload_url for release publishing

pull/2262/head
Tristan Sloughter 5 years ago
parent
commit
0a944209e9
No known key found for this signature in database GPG Key ID: AAB97DDECCEB8150
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      .github/workflows/publish.yml

+ 2
- 2
.github/workflows/publish.yml View File

@ -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

Loading…
Cancel
Save