File tree Expand file tree Collapse file tree 12 files changed +144
-0
lines changed Expand file tree Collapse file tree 12 files changed +144
-0
lines changed Original file line number Diff line number Diff line change 27
27
timeout-minutes : 150
28
28
29
29
steps :
30
+ - name : Download repository
31
+ uses : actions/download-artifact@v4
32
+ with :
33
+ name : repository
34
+ path : .
35
+
30
36
- name : Get current branch SHA
31
37
id : get_sha
32
38
run : |
Original file line number Diff line number Diff line change 25
25
outputs :
26
26
postgres_versions : ${{ steps.set-versions.outputs.postgres_versions }}
27
27
steps :
28
+ - name : Download repository
29
+ uses : actions/download-artifact@v4
30
+ with :
31
+ name : repository
32
+ path : .
33
+
28
34
- uses : DeterminateSystems/nix-installer-action@main
29
35
30
36
- name : Set PostgreSQL versions
48
54
timeout-minutes : 150
49
55
50
56
steps :
57
+ - name : Download repository
58
+ uses : actions/download-artifact@v4
59
+ with :
60
+ name : repository
61
+ path : .
62
+
51
63
- uses : DeterminateSystems/nix-installer-action@main
52
64
53
65
- name : Run checks if triggered manually
Original file line number Diff line number Diff line change 18
18
needs : checkout
19
19
runs-on : ubuntu-latest
20
20
steps :
21
+ - name : Download repository
22
+ uses : actions/download-artifact@v4
23
+ with :
24
+ name : repository
25
+ path : .
26
+
21
27
- name : Run ShellCheck
22
28
uses : ludeeus/action-shellcheck@master
23
29
env :
Original file line number Diff line number Diff line change 15
15
timeout-minutes : 5
16
16
runs-on : ubuntu-latest
17
17
steps :
18
+ - name : Download repository
19
+ uses : actions/download-artifact@v4
20
+ with :
21
+ name : repository
22
+ path : .
23
+
18
24
- name : Load postgres_release values
19
25
id : load_postgres_release
20
26
uses : mikefarah/yq@master
Original file line number Diff line number Diff line change 24
24
outputs :
25
25
matrix_config : ${{ steps.set-matrix.outputs.matrix_config }}
26
26
steps :
27
+ - name : Download repository
28
+ uses : actions/download-artifact@v4
29
+ with :
30
+ name : repository
31
+ path : .
32
+
27
33
- uses : DeterminateSystems/nix-installer-action@main
28
34
- name : Generate build matrix
29
35
id : set-matrix
55
61
outputs :
56
62
build_args : ${{ steps.args.outputs.result }}
57
63
steps :
64
+ - name : Download repository
65
+ uses : actions/download-artifact@v4
66
+ with :
67
+ name : repository
68
+ path : .
69
+
58
70
- uses : DeterminateSystems/nix-installer-action@main
59
71
- name : Set PostgreSQL version environment variable
60
72
run : echo "POSTGRES_MAJOR_VERSION=${{ matrix.version }}" >> $GITHUB_ENV
78
90
runs-on : ${{ matrix.arch == 'amd64' && 'ubuntu-latest' || 'arm-runner' }}
79
91
timeout-minutes : 180
80
92
steps :
93
+ - name : Download repository
94
+ uses : actions/download-artifact@v4
95
+ with :
96
+ name : repository
97
+ path : .
98
+
81
99
- uses : DeterminateSystems/nix-installer-action@main
82
100
- run : docker context create builders
83
101
- uses : docker/setup-buildx-action@v3
Original file line number Diff line number Diff line change 21
21
outputs :
22
22
matrix_config : ${{ steps.set-matrix.outputs.matrix_config }}
23
23
steps :
24
+ - name : Download repository
25
+ uses : actions/download-artifact@v4
26
+ with :
27
+ name : repository
28
+ path : .
29
+
24
30
- uses : DeterminateSystems/nix-installer-action@main
25
31
- name : Generate build matrix
26
32
id : set-matrix
52
58
outputs :
53
59
build_args : ${{ steps.args.outputs.result }}
54
60
steps :
61
+ - name : Download repository
62
+ uses : actions/download-artifact@v4
63
+ with :
64
+ name : repository
65
+ path : .
66
+
55
67
- uses : DeterminateSystems/nix-installer-action@main
56
68
- name : Set PostgreSQL version environment variable
57
69
run : echo "POSTGRES_MAJOR_VERSION=${{ matrix.version }}" >> $GITHUB_ENV
75
87
runs-on : ${{ matrix.arch == 'amd64' && 'ubuntu-latest' || 'arm-runner' }}
76
88
timeout-minutes : 180
77
89
steps :
90
+ - name : Download repository
91
+ uses : actions/download-artifact@v4
92
+ with :
93
+ name : repository
94
+ path : .
95
+
78
96
- uses : DeterminateSystems/nix-installer-action@main
79
97
- run : docker context create builders
80
98
- uses : docker/setup-buildx-action@v3
Original file line number Diff line number Diff line change 21
21
outputs :
22
22
postgrest_release : ${{ steps.args.outputs.result }}
23
23
steps :
24
+ - name : Download repository
25
+ uses : actions/download-artifact@v4
26
+ with :
27
+ name : repository
28
+ path : .
29
+
24
30
- id : args
25
31
uses : mikefarah/yq@master
26
32
with :
Original file line number Diff line number Diff line change 20
20
outputs :
21
21
postgres_versions : ${{ steps.set-versions.outputs.postgres_versions }}
22
22
steps :
23
+ - name : Download repository
24
+ uses : actions/download-artifact@v4
25
+ with :
26
+ name : repository
27
+ path : .
28
+
23
29
- uses : DeterminateSystems/nix-installer-action@main
24
30
25
31
- name : Set PostgreSQL versions
35
41
matrix :
36
42
postgres_version : ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
37
43
steps :
44
+ - name : Download repository
45
+ uses : actions/download-artifact@v4
46
+ with :
47
+ name : repository
48
+ path : .
49
+
38
50
- uses : DeterminateSystems/nix-installer-action@main
39
51
40
52
- name : Grab release version
84
96
postgres_version : ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
85
97
86
98
steps :
99
+ - name : Download repository
100
+ uses : actions/download-artifact@v4
101
+ with :
102
+ name : repository
103
+ path : .
104
+
87
105
- uses : DeterminateSystems/nix-installer-action@main
88
106
89
107
- name : Grab release version
Original file line number Diff line number Diff line change 27
27
outputs :
28
28
postgres_versions : ${{ steps.set-versions.outputs.postgres_versions }}
29
29
steps :
30
+ - name : Download repository
31
+ uses : actions/download-artifact@v4
32
+ with :
33
+ name : repository
34
+ path : .
35
+
30
36
- uses : DeterminateSystems/nix-installer-action@main
31
37
32
38
- name : Set PostgreSQL versions
43
49
postgres_version : ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
44
50
45
51
steps :
52
+ - name : Download repository
53
+ uses : actions/download-artifact@v4
54
+ with :
55
+ name : repository
56
+ path : .
57
+
46
58
- uses : DeterminateSystems/nix-installer-action@main
47
59
48
60
- name : Grab release version
@@ -90,6 +102,12 @@ jobs:
90
102
postgres_version : ${{ fromJson(needs.prepare.outputs.postgres_versions) }}
91
103
92
104
steps :
105
+ - name : Download repository
106
+ uses : actions/download-artifact@v4
107
+ with :
108
+ name : repository
109
+ path : .
110
+
93
111
- uses : DeterminateSystems/nix-installer-action@main
94
112
95
113
- name : Grab release version
Original file line number Diff line number Diff line change 26
26
outputs :
27
27
postgres_versions : ${{ steps.set-versions.outputs.postgres_versions }}
28
28
steps :
29
+ - name : Download repository
30
+ uses : actions/download-artifact@v4
31
+ with :
32
+ name : repository
33
+ path : .
34
+
29
35
- uses : DeterminateSystems/nix-installer-action@main
30
36
31
37
- name : Set PostgreSQL versions - only builds pg17 atm
47
53
id-token : write
48
54
49
55
steps :
56
+ - name : Download repository
57
+ uses : actions/download-artifact@v4
58
+ with :
59
+ name : repository
60
+ path : .
61
+
50
62
- uses : DeterminateSystems/nix-installer-action@main
51
63
52
64
- name : Run checks if triggered manually
You can’t perform that action at this time.
0 commit comments