Sfoglia il codice sorgente

Update windows.yml

pull/1357/head
Ray 4 anni fa
committed by GitHub
parent
commit
3d24dbc7b4
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 18 aggiunte e 1 eliminazioni
  1. +18
    -1
      .github/workflows/windows.yml

+ 18
- 1
.github/workflows/windows.yml Vedi File

@ -1,6 +1,10 @@
name: Windows
on: [push, pull_request]
on:
push:
pull_request:
release:
types: [published]
jobs:
build:
@ -84,3 +88,16 @@ jobs:
with:
name: ${{ env.RELEASE_NAME }}.zip
path: ./build/${{ env.RELEASE_NAME }}.zip
- name: Upload Artifact to Release
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./build/${{ env.RELEASE_NAME }}.zip
asset_name: ${{ env.RELEASE_NAME }}.zip
asset_content_type: application/zip
if: release.published == true

Caricamento…
Annulla
Salva