Fixes for CI

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
strawberry 2024-11-10 03:25:57 +00:00 committed by Jason Volk
parent 5e74391c6c
commit 7e087bb93c

View file

@ -65,7 +65,7 @@ permissions:
jobs: jobs:
tests: tests:
name: Test name: Test
runs-on: ubuntu-latest runs-on: ubuntu-24.04
steps: steps:
- name: Free Disk Space (Ubuntu) - name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main uses: jlumbroso/free-disk-space@main
@ -231,7 +231,7 @@ jobs:
build: build:
name: Build name: Build
runs-on: ubuntu-latest runs-on: ubuntu-24.04
needs: tests needs: tests
strategy: strategy:
matrix: matrix:
@ -245,7 +245,7 @@ jobs:
- name: Sync repository - name: Sync repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v28 - uses: nixbuild/nix-quick-install-action@master
- name: Restore and cache Nix store - name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v5.1.0 uses: nix-community/cache-nix-action@v5.1.0
@ -508,7 +508,7 @@ jobs:
docker: docker:
name: Docker publish name: Docker publish
runs-on: ubuntu-latest runs-on: ubuntu-24.04
needs: build needs: build
if: (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || (github.event.pull_request.draft != true)) && (vars.DOCKER_USERNAME != '') && (vars.GITLAB_USERNAME != '') && github.event.pull_request.user.login != 'renovate[bot]' if: (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || (github.event.pull_request.draft != true)) && (vars.DOCKER_USERNAME != '') && (vars.GITLAB_USERNAME != '') && github.event.pull_request.user.login != 'renovate[bot]'
env: env: