File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- develop
7
7
- release/*
8
+ - sam/publish-gh-actions
8
9
paths :
9
10
- ' .github/workflows/ami-release-nix.yml'
10
11
- ' common-nix.vars.pkr.hcl'
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- develop
7
7
- release/*
8
+ paths :
9
+ - ' .github/workflows/publish-nix-pgupgrade-scripts.yml'
10
+ - sam/publish-gh-actions
11
+ # TODO PR remove prior to merge
12
+ pull_request :
13
+ branches :
14
+ - sam/publish-gh-actions
8
15
paths :
9
16
- ' .github/workflows/publish-nix-pgupgrade-scripts.yml'
10
17
workflow_dispatch :
49
56
- name : Grab release version
50
57
id : process_release_version
51
58
run : |
52
- VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
59
+ VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
53
60
VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
54
61
if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
55
62
VERSION=${{ inputs.postgresVersion }}
@@ -95,11 +102,13 @@ jobs:
95
102
steps :
96
103
- name : Checkout Repo
97
104
uses : actions/checkout@v3
98
-
105
+
106
+ - uses : DeterminateSystems/nix-installer-action@main
107
+
99
108
- name : Grab release version
100
109
id : process_release_version
101
110
run : |
102
- VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
111
+ VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
103
112
VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
104
113
if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
105
114
VERSION=${{ inputs.postgresVersion }}
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ postgres_major:
11
11
12
12
# Full version strings for each major version
13
13
postgres_release :
14
- postgres15 : " 15.8.1.010"
15
- postgres16 : " 16.3.1.016"
14
+ postgres15 : " 15.8.1.010-staging "
15
+ postgres16 : " 16.3.1.016-staging "
16
16
17
17
# Non Postgres Extensions
18
18
pgbouncer_release : " 1.19.0"
You can’t perform that action at this time.
0 commit comments