Skip to content

Commit 701ee30

Browse files
committed
tmp
1 parent 121dd2e commit 701ee30

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ami-release-nix.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,7 @@ jobs:
3737
strategy:
3838
matrix:
3939
postgres_version: ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
40-
include:
41-
- runner: arm-runner
42-
arch: arm64
43-
ubuntu_release: focal
44-
ubuntu_version: 20.04
45-
mcpu: neoverse-n1
46-
runs-on: ${{ matrix.runner }}
40+
runs-on: ubuntu-24.04-arm
4741
timeout-minutes: 150
4842

4943
steps:
@@ -55,7 +49,7 @@ jobs:
5549
- name: Run checks if triggered manually
5650
if: ${{ github.event_name == 'workflow_dispatch' }}
5751
run: |
58-
SUFFIX=$(sudo nix run nixpkgs#yq -- ".postgres_release[\"postgres${{ matrix.postgres_version }}\"]" ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
52+
SUFFIX=$(nix run nixpkgs#yq -- ".postgres_release[\"postgres${{ matrix.postgres_version }}\"]" ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
5953
if [[ -z "$SUFFIX" ]] ; then
6054
echo "Version must include non-numeric characters if built manually."
6155
exit 1
@@ -66,7 +60,7 @@ jobs:
6660

6761
- name: Generate common-nix.vars.pkr.hcl
6862
run: |
69-
PG_VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
63+
PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
7064
PG_VERSION=$(echo "$PG_VERSION" | tr -d '"') # Remove any surrounding quotes
7165
echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
7266
# Ensure there's a newline at the end of the file

0 commit comments

Comments
 (0)