File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 3
3
pull_request :
4
4
push : { branches: [master] }
5
5
6
+ permissions :
7
+ contents : read
8
+
6
9
jobs :
7
10
build :
8
11
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 7
7
tags :
8
8
- ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
9
9
10
+ permissions :
11
+ contents : write
12
+ id-token : write
13
+
10
14
jobs :
11
15
release :
12
16
name : Create Release
87
91
cp `find target/release -type f -name "${{ matrix.extension_name }}*"` archive
88
92
89
93
# name of the package directory before packaging
90
- package_dir=${{ matrix.extension_name }}-${{ github.ref_name }}-pg${{ matrix.postgres }}-${{ matrix.box.arch }}-linux-gnu
94
+ package_dir=" ${{ matrix.extension_name }}-${{ github.ref_name }}-pg${{ matrix.postgres }}-${{ matrix.box.arch }}-linux-gnu"
91
95
92
96
# Copy files into directory structure
93
97
mkdir -p ${package_dir}/usr/lib/postgresql/lib
@@ -110,7 +114,7 @@ jobs:
110
114
cd ../../../../../..
111
115
112
116
# Create install control file
113
- extension_version=${{ github.ref_name }}
117
+ extension_version=" ${{ github.ref_name }}"
114
118
# strip the leading v
115
119
deb_version=${extension_version:1}
116
120
Original file line number Diff line number Diff line change 3
3
pull_request :
4
4
push : { branches: [master] }
5
5
6
+ permissions :
7
+ contents : read
8
+
6
9
jobs :
7
10
test :
8
11
name : Run tests
You can’t perform that action at this time.
0 commit comments