소스 검색

use event upload_url for release publishing

pull/2262/head
Tristan Sloughter 5 년 전
부모
커밋
0a944209e9
No known key found for this signature in database GPG 키 ID: AAB97DDECCEB8150
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      .github/workflows/publish.yml

+ 2
- 2
.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

불러오는 중...
취소
저장