Build & Upload Package #149
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Build & Upload Package" | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build_upload: | |
| permissions: | |
| contents: "write" | |
| packages: "write" | |
| pull-requests: "read" | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Stage 1 Gathering Dependencies | |
| shell: bash | |
| working-directory: builder | |
| run: bash stage1.sh | |
| - name: Stage 2 Assembling Repositories | |
| shell: bash | |
| working-directory: builder | |
| run: bash stage2.sh | |
| - name: Stage 3 Compressing Package | |
| shell: bash | |
| working-directory: builder | |
| run: bash stage3.sh | |
| - name: Upload archive to release | |
| uses: xresloader/upload-to-github-release@v1 | |
| env: | |
| # This is an always-on token in GitHub CI environment | |
| # You don't need to configure it | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| file: "builder/*.7z*;builder/*.zip*" | |
| # Always draft before release | |
| draft: true | |
| overwrite: true |