-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (35 loc) · 868 Bytes
/
release.yml
File metadata and controls
38 lines (35 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Release App
on:
release:
types: [published]
permissions:
contents: read
jobs:
build-apps:
uses: ./.github/workflows/build_all.yml
name: Build All Apps
secrets: inherit
with:
build-windows-installer: true
build-windows-portable: true
build-python3-zipapp: true
release:
name: Release
needs: build-apps
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download All Packages
uses: actions/download-artifact@v4
with:
merge-multiple: true
- name: Release Upload Assets
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ github.event.release.tag_name }} \
*-portable.zip \
*-setup.exe \
*.pyzw \
--clobber --repo $GITHUB_REPOSITORY