Kaynağa Gözat

use event upload_url for release publishing

pull/2262/head
Tristan Sloughter 5 yıl önce
ebeveyn
işleme
0a944209e9
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: AAB97DDECCEB8150
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      .github/workflows/publish.yml

+ 2
- 2
.github/workflows/publish.yml Dosyayı Görüntüle

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

Yükleniyor…
İptal
Kaydet