build(deps): bump actions/setup-dotnet from 5.3.0 to 6.0.0 #2757
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 dev environments | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - "test/**" | |
| schedule: | |
| - cron: "0 0 * * *" # Run every day at 00:00 UTC. | |
| permissions: | |
| packages: write | |
| env: | |
| IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} | |
| REGISTRY_USER: ${{ github.actor }} | |
| REGISTRY_PASSWORD: ${{ github.token }} | |
| # Each day, build and publish to ghcr.io: | |
| # | |
| # - the dangerzone/build/{debian,ubuntu,fedora}:version | |
| # dev environments used to run the tests | |
| # | |
| # End-user environments are not published to the GHCR because | |
| # they need .rpm or .deb files to be built, which is what we | |
| # want to test. | |
| jobs: | |
| build-dev-environment: | |
| name: "Build dev-env (${{ matrix.distro }}-${{ matrix.version }})" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - distro: ubuntu | |
| version: "22.04" | |
| - distro: ubuntu | |
| version: "24.04" | |
| - distro: ubuntu | |
| version: "26.04" | |
| - distro: ubuntu | |
| version: "25.10" | |
| - distro: debian | |
| version: bookworm | |
| - distro: debian | |
| version: trixie | |
| - distro: debian | |
| version: forky | |
| - distro: fedora | |
| version: "43" | |
| - distro: fedora | |
| version: "44" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.10" | |
| - name: Login to GHCR | |
| run: | | |
| echo ${{ github.token }} | podman login ghcr.io -u USERNAME --password-stdin | |
| - name: Build dev environment | |
| run: | | |
| ./dev_scripts/env.py --distro ${{ matrix.distro }} \ | |
| --version ${{ matrix.version }} \ | |
| build-dev --sync |