Skip to content

Commit 654389c

Browse files
pcncdarora
authored andcommitted
chore: cleanup
1 parent 90a93ab commit 654389c

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Publish nix pg_upgrade_bin flake version
22

33
on:
4-
push:
5-
branches:
6-
- pcnc/nix-flake-workflow
7-
paths:
8-
- '.github/workflows/publish-nix-pgupgrade-bin-flake-version.yml'
94
workflow_dispatch:
105
inputs:
116
postgresVersion:
@@ -79,10 +74,11 @@ jobs:
7974
echo "major_version=$(echo $VERSION | cut -d'.' -f1)" >> "$GITHUB_OUTPUT"
8075
8176
- name: Create a tarball containing the latest nix flake version
77+
working-directory: /tmp/
8278
run: |
83-
mkdir -p /tmp/${{ steps.process_release_version.outputs.major_version }}
84-
echo $GITHUB_SHA > /tmp/${{ steps.process_release_version.outputs.major_version }}/nix_flake_version
85-
tar -czvf pg_upgrade_bin.tar.gz -C /tmp/ /${{ steps.process_release_version.outputs.major_version }}
79+
mkdir -p ${{ steps.process_release_version.outputs.major_version }}
80+
echo $GITHUB_SHA > ${{ steps.process_release_version.outputs.major_version }}/nix_flake_version
81+
tar -czvf pg_upgrade_bin.tar.gz ${{ steps.process_release_version.outputs.major_version }}
8682
8783
- name: configure aws credentials - prod
8884
uses: aws-actions/configure-aws-credentials@v1

common-nix.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.6.1.113-workflow-release-test"
1+
postgres-version = "15.6.1.113"

0 commit comments

Comments
 (0)