Skip to content

Commit

Permalink
Updates ubuntu-latest runner to ubuntu-24.04 to avoid some issues wit…
Browse files Browse the repository at this point in the history
…h the latest.
  • Loading branch information
majora2007 committed Jan 4, 2025
1 parent ca914a7 commit 5f176ed
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/canary-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
name: Upload Kavita.Common for Version Bump
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand All @@ -24,7 +24,7 @@ jobs:
version:
name: Bump version
needs: [ build ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -45,7 +45,7 @@ jobs:
canary:
name: Build Canary Docker
needs: [ build, version ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
packages: write
contents: read
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/develop-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
debug:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Debug Info
run: |
Expand All @@ -17,7 +17,7 @@ jobs:
echo "Matches Develop: ${{ github.ref == 'refs/heads/develop' }}"
build:
name: Upload Kavita.Common for Version Bump
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/develop'
steps:
- name: Checkout Repo
Expand All @@ -33,7 +33,7 @@ jobs:
version:
name: Bump version
needs: [ build ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/checkout@v4
Expand All @@ -55,7 +55,7 @@ jobs:
develop:
name: Build Nightly Docker
needs: [ build, version ]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/develop'
permissions:
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
check_pr:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Extract branch name
shell: bash
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
debug:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Debug Info
run: |
Expand All @@ -20,13 +20,13 @@ jobs:
echo "Matches Develop: ${{ github.ref == 'refs/heads/develop' }}"
if_merged:
if: github.event.pull_request.merged == true && contains(github.head_ref, 'release')
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- run: |
echo The PR was merged
build:
name: Upload Kavita.Common for Version Bump
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.event.pull_request.merged == true && contains(github.head_ref, 'release')
steps:
- name: Checkout Repo
Expand All @@ -43,7 +43,7 @@ jobs:
name: Build Stable and Nightly Docker if Release
needs: [ build ]
if: github.event.pull_request.merged == true && contains(github.head_ref, 'release')
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
packages: write
contents: read
Expand Down

0 comments on commit 5f176ed

Please sign in to comment.