Merge branch 'develop' into Feat/MergeAllChannelToStdout #23
Workflow file for this run
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 package | |
on: | |
push: | |
release: | |
types: | |
- created | |
env: | |
BUILD_OUTPUT_PATH: build_output | |
# Prevent running multiple-runners per workflow-file per event-name per branch per github-user (/ref) | |
# Ex. multiple changes are commited on the same PR/branch in a very short timespan, | |
# cancel the previous runner (as it's not the latest anymore) | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}-${{ github.actor }} | |
cancel-in-progress: true | |
jobs: | |
build_installer: | |
permissions: | |
contents: write | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: download packages | |
shell: bash | |
run: ./scripts/package-download.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: mkdir -p ${{env.BUILD_OUTPUT_PATH}} | |
- shell: cmd | |
run: .\scripts\installer-build.bat | |
- uses: actions/upload-artifact@v4 | |
id: artifact-upload-step | |
with: | |
name: qif-artifact | |
path: build_output/ | |
- name: Output artifact url | |
run: echo 'Artifact url is ${{ steps.artifact-upload-step.outputs.artifact-url }}' | |
release_package: | |
needs: build_installer | |
if: github.event_name == 'release' | |
permissions: | |
contents: write | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- run: mkdir -p dist | |
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | |
with: | |
name: qif-artifact | |
path: dist/ | |
- run: cd dist; zip -r ../qif-package.zip . | |
- run: | |
gh release upload ${{ github.event.release.tag_name }} | |
qif-package.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |