@@ -15,16 +15,16 @@ jobs:
15
15
uses : actions/checkout@v4
16
16
with :
17
17
repository : postgres/postgres
18
- ref : refs/tags/${{ github.event.inputs.version }}
18
+ ref : refs/tags/${{ github.event.inputs.tag }}
19
19
fetch-tags : true
20
20
- run : curl https://raw.githubusercontent.com/eitco/build-postgres/${{ github.ref_name }}/build.sh > build.sh && chmod +x build.sh
21
- - run : ./build.sh "${{ github.event.inputs.version }}" osx
21
+ - run : ./build.sh "${{ github.event.inputs.tag }}" osx
22
22
-
uses :
ncipollo/[email protected]
23
23
with :
24
- name : " postgres-${{ github.event.inputs.version }}-osx"
25
- body : " postgres ${{ github.event.inputs.version }} osx"
26
- artifacts : " postgres-${{ github.event.inputs.version }}-osx.tar.gz"
27
- tag : ${{ github.event.inputs.version }}-osx
24
+ name : " postgres-${{ github.event.inputs.tag }}-osx"
25
+ body : " postgres ${{ github.event.inputs.tag }} osx"
26
+ artifacts : " postgres-${{ github.event.inputs.tag }}-osx.tar.gz"
27
+ tag : ${{ github.event.inputs.tag }}-osx
28
28
commit : ${{ github.ref_name }}
29
29
build-linux-64 :
30
30
runs-on : ubuntu-latest
@@ -33,14 +33,14 @@ jobs:
33
33
uses : actions/checkout@v4
34
34
with :
35
35
repository : postgres/postgres
36
- ref : refs/tags/${{ github.event.inputs.version }}
36
+ ref : refs/tags/${{ github.event.inputs.tag }}
37
37
fetch-tags : true
38
38
- run : curl https://raw.githubusercontent.com/eitco/build-postgres/${{ github.ref_name }}/build.sh > build.sh && chmod +x build.sh
39
- - run : ./build.sh "${{ github.event.inputs.version }}" linux-64
39
+ - run : ./build.sh "${{ github.event.inputs.tag }}" linux-64
40
40
-
uses :
ncipollo/[email protected]
41
41
with :
42
- name : " postgres-${{ github.event.inputs.version }}-linux-64"
43
- body : " postgres ${{ github.event.inputs.version }} linux-64"
42
+ name : " postgres-${{ github.event.inputs.tag }}-linux-64"
43
+ body : " postgres ${{ github.event.inputs.tag }} linux-64"
44
44
artifacts : " postgres-*-linux-64.tar.gz"
45
- tag : ${{ github.event.inputs.version }}-linux-64
45
+ tag : ${{ github.event.inputs.tag }}-linux-64
46
46
commit : ${{ github.ref_name }}
0 commit comments