github actions: windows: fix packaging (#4711)

This commit is contained in:
Paweł Redzyński
2020-10-13 21:31:48 +02:00
committed by GitHub
parent 0649242578
commit 3e011d70d5
+2 -2
View File
@@ -73,10 +73,10 @@ jobs:
- name: Build
run: scripts\build_windows.cmd
shell: cmd
- name: set up github token
run: echo 'GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}' >> $GITHUB_ENV
- name: Publish
if: github.event_name == 'release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: actions/[email protected]
with:
upload_url: ${{ github.event.release.upload_url }}