Skip to content

Commit

Permalink
cd deps fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mageddo committed Aug 5, 2024
1 parent 4177416 commit 46828b3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/actions-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ env:

jobs:
primary_release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
APP_VERSION: ${{ steps.set_app_version.outputs.APP_VERSION }}
steps:
- name: Explain
run: |
echo "Releases the Jar and Linux AMD64 version"
- name: Install Deps
run: sudo apt-get install docker-compose -y

- name: Checkout code
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -67,7 +70,7 @@ jobs:
./build/compressed-artifacts/*
linux_amd64_static_release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: primary_release
env:
APP_VERSION: ${{ needs.primary_release.outputs.APP_VERSION }}
Expand All @@ -78,6 +81,9 @@ jobs:
- name: Check app version
run: echo "$APP_VERSION"

- name: Install Deps
run: sudo apt-get install rename -y

- uses: actions/download-artifact@v3
with:
name: native-image-source
Expand Down Expand Up @@ -105,7 +111,7 @@ jobs:
./build/compressed-artifacts/*
linux_arm_release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: primary_release
env:
APP_VERSION: ${{ needs.primary_release.outputs.APP_VERSION }}
Expand All @@ -116,6 +122,9 @@ jobs:
- name: Check app version
run: echo "$APP_VERSION"

- name: Install Deps
run: sudo apt-get install rename -y

- uses: actions/download-artifact@v3
with:
name: native-image-source
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ concurrency:

jobs:
tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
close-issues:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
issues: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
docs-update:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:

- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
release-latest:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write

Expand Down

0 comments on commit 46828b3

Please sign in to comment.