Skip to content

Commit 2e447d0

Browse files
committed
feat: download everywhere needed
1 parent a8278ac commit 2e447d0

12 files changed

+144
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
timeout-minutes: 150
2828

2929
steps:
30+
- name: Download repository
31+
uses: actions/download-artifact@v4
32+
with:
33+
name: repository
34+
path: .
35+
3036
- name: Get current branch SHA
3137
id: get_sha
3238
run: |

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
outputs:
2626
postgres_versions: ${{ steps.set-versions.outputs.postgres_versions }}
2727
steps:
28+
- name: Download repository
29+
uses: actions/download-artifact@v4
30+
with:
31+
name: repository
32+
path: .
33+
2834
- uses: DeterminateSystems/nix-installer-action@main
2935

3036
- name: Set PostgreSQL versions
@@ -48,6 +54,12 @@ jobs:
4854
timeout-minutes: 150
4955

5056
steps:
57+
- name: Download repository
58+
uses: actions/download-artifact@v4
59+
with:
60+
name: repository
61+
path: .
62+
5163
- uses: DeterminateSystems/nix-installer-action@main
5264

5365
- name: Run checks if triggered manually

.github/workflows/check-shellscripts.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
needs: checkout
1919
runs-on: ubuntu-latest
2020
steps:
21+
- name: Download repository
22+
uses: actions/download-artifact@v4
23+
with:
24+
name: repository
25+
path: .
26+
2127
- name: Run ShellCheck
2228
uses: ludeeus/action-shellcheck@master
2329
env:

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
timeout-minutes: 5
1616
runs-on: ubuntu-latest
1717
steps:
18+
- name: Download repository
19+
uses: actions/download-artifact@v4
20+
with:
21+
name: repository
22+
path: .
23+
1824
- name: Load postgres_release values
1925
id: load_postgres_release
2026
uses: mikefarah/yq@master

.github/workflows/dockerhub-release-matrix.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
outputs:
2525
matrix_config: ${{ steps.set-matrix.outputs.matrix_config }}
2626
steps:
27+
- name: Download repository
28+
uses: actions/download-artifact@v4
29+
with:
30+
name: repository
31+
path: .
32+
2733
- uses: DeterminateSystems/nix-installer-action@main
2834
- name: Generate build matrix
2935
id: set-matrix
@@ -55,6 +61,12 @@ jobs:
5561
outputs:
5662
build_args: ${{ steps.args.outputs.result }}
5763
steps:
64+
- name: Download repository
65+
uses: actions/download-artifact@v4
66+
with:
67+
name: repository
68+
path: .
69+
5870
- uses: DeterminateSystems/nix-installer-action@main
5971
- name: Set PostgreSQL version environment variable
6072
run: echo "POSTGRES_MAJOR_VERSION=${{ matrix.version }}" >> $GITHUB_ENV
@@ -78,6 +90,12 @@ jobs:
7890
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-latest' || 'arm-runner' }}
7991
timeout-minutes: 180
8092
steps:
93+
- name: Download repository
94+
uses: actions/download-artifact@v4
95+
with:
96+
name: repository
97+
path: .
98+
8199
- uses: DeterminateSystems/nix-installer-action@main
82100
- run: docker context create builders
83101
- uses: docker/setup-buildx-action@v3

.github/workflows/manual-docker-release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
outputs:
2222
matrix_config: ${{ steps.set-matrix.outputs.matrix_config }}
2323
steps:
24+
- name: Download repository
25+
uses: actions/download-artifact@v4
26+
with:
27+
name: repository
28+
path: .
29+
2430
- uses: DeterminateSystems/nix-installer-action@main
2531
- name: Generate build matrix
2632
id: set-matrix
@@ -52,6 +58,12 @@ jobs:
5258
outputs:
5359
build_args: ${{ steps.args.outputs.result }}
5460
steps:
61+
- name: Download repository
62+
uses: actions/download-artifact@v4
63+
with:
64+
name: repository
65+
path: .
66+
5567
- uses: DeterminateSystems/nix-installer-action@main
5668
- name: Set PostgreSQL version environment variable
5769
run: echo "POSTGRES_MAJOR_VERSION=${{ matrix.version }}" >> $GITHUB_ENV
@@ -75,6 +87,12 @@ jobs:
7587
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-latest' || 'arm-runner' }}
7688
timeout-minutes: 180
7789
steps:
90+
- name: Download repository
91+
uses: actions/download-artifact@v4
92+
with:
93+
name: repository
94+
path: .
95+
7896
- uses: DeterminateSystems/nix-installer-action@main
7997
- run: docker context create builders
8098
- uses: docker/setup-buildx-action@v3

.github/workflows/mirror-postgrest.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
outputs:
2222
postgrest_release: ${{ steps.args.outputs.result }}
2323
steps:
24+
- name: Download repository
25+
uses: actions/download-artifact@v4
26+
with:
27+
name: repository
28+
path: .
29+
2430
- id: args
2531
uses: mikefarah/yq@master
2632
with:

.github/workflows/publish-nix-pgupgrade-bin-flake-version.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
outputs:
2121
postgres_versions: ${{ steps.set-versions.outputs.postgres_versions }}
2222
steps:
23+
- name: Download repository
24+
uses: actions/download-artifact@v4
25+
with:
26+
name: repository
27+
path: .
28+
2329
- uses: DeterminateSystems/nix-installer-action@main
2430

2531
- name: Set PostgreSQL versions
@@ -35,6 +41,12 @@ jobs:
3541
matrix:
3642
postgres_version: ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
3743
steps:
44+
- name: Download repository
45+
uses: actions/download-artifact@v4
46+
with:
47+
name: repository
48+
path: .
49+
3850
- uses: DeterminateSystems/nix-installer-action@main
3951

4052
- name: Grab release version
@@ -84,6 +96,12 @@ jobs:
8496
postgres_version: ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
8597

8698
steps:
99+
- name: Download repository
100+
uses: actions/download-artifact@v4
101+
with:
102+
name: repository
103+
path: .
104+
87105
- uses: DeterminateSystems/nix-installer-action@main
88106

89107
- name: Grab release version

.github/workflows/publish-nix-pgupgrade-scripts.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
outputs:
2828
postgres_versions: ${{ steps.set-versions.outputs.postgres_versions }}
2929
steps:
30+
- name: Download repository
31+
uses: actions/download-artifact@v4
32+
with:
33+
name: repository
34+
path: .
35+
3036
- uses: DeterminateSystems/nix-installer-action@main
3137

3238
- name: Set PostgreSQL versions
@@ -43,6 +49,12 @@ jobs:
4349
postgres_version: ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
4450

4551
steps:
52+
- name: Download repository
53+
uses: actions/download-artifact@v4
54+
with:
55+
name: repository
56+
path: .
57+
4658
- uses: DeterminateSystems/nix-installer-action@main
4759

4860
- name: Grab release version
@@ -90,6 +102,12 @@ jobs:
90102
postgres_version: ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
91103

92104
steps:
105+
- name: Download repository
106+
uses: actions/download-artifact@v4
107+
with:
108+
name: repository
109+
path: .
110+
93111
- uses: DeterminateSystems/nix-installer-action@main
94112

95113
- name: Grab release version

.github/workflows/qemu-image-build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
outputs:
2727
postgres_versions: ${{ steps.set-versions.outputs.postgres_versions }}
2828
steps:
29+
- name: Download repository
30+
uses: actions/download-artifact@v4
31+
with:
32+
name: repository
33+
path: .
34+
2935
- uses: DeterminateSystems/nix-installer-action@main
3036

3137
- name: Set PostgreSQL versions - only builds pg17 atm
@@ -47,6 +53,12 @@ jobs:
4753
id-token: write
4854

4955
steps:
56+
- name: Download repository
57+
uses: actions/download-artifact@v4
58+
with:
59+
name: repository
60+
path: .
61+
5062
- uses: DeterminateSystems/nix-installer-action@main
5163

5264
- name: Run checks if triggered manually

0 commit comments

Comments
 (0)