fix: archiving to BagIt format circle selection did not include all c… #127
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: Deploy to GitHub Releases | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| env: | |
| PYINSTALLER_COMPILE_BOOTLOADER: 1 | |
| jobs: | |
| build: | |
| name: Create Release | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| python-version: ["3.10"] | |
| os: [macos-latest] | |
| steps: | |
| - name: Set env | |
| shell: bash | |
| run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
| - uses: actions/checkout@main | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@main | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install setuptools wheel twine | |
| pip install .[GUI] | |
| - name: Build macOS app | |
| if: runner.os == 'macOS' | |
| working-directory: ./build-recipes | |
| run: | | |
| bash ./macos_build_app.sh DCOR-Aid ${{ env.RELEASE_VERSION }} | |
| - name: Build windows executable | |
| if: runner.os == 'windows' | |
| working-directory: ./build-recipes | |
| run: | | |
| pip install -r win_build_requirements.txt | |
| pyinstaller -y --log-level=WARN win_DCOR-Aid.spec | |
| # Run the binary (the most simple test) | |
| dist\\DCOR-Aid\\DCOR-Aid.exe --version | |
| python win_make_iss.py | |
| # install innosetup (not in Windows 2025 GHA image) | |
| winget install --id JRSoftware.InnoSetup -e -s winget | |
| $env:path += ";$env:LOCALAPPDATA/Programs/Inno Setup 6" | |
| iscc -Qp win_dcoraid.iss | |
| - name: Release Assets | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| name: DCOR-Aid ${{ env.RELEASE_VERSION }} | |
| draft: true | |
| prerelease: false | |
| body: | | |
|  | |
| For signed installers, please read the [Code Signing Policy](https://dc.readthedocs.io/en/latest/sec_code_signing.html). | |
| files: | | |
| ./build-recipes/dist/*.dmg | |
| ./build-recipes/dist/*.pkg | |
| ./build-recipes/Output/*.exe |