CI/CD #27
This file contains 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
# Infos on current github runners: | |
# https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#about-github-hosted-runners | |
name: CI/CD | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy-briefcase: | |
name: Briefcase build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2022] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- name: Install hatch | |
run: pip install hatch | |
- name: Build package briefcase | |
shell: bash -l {0} | |
run: hatch run bundle | |
- name: Archive build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Normcap-win | |
path: | | |
./bundle/*.msi | |
./bundle/*.zip |