9
9
strategy :
10
10
matrix :
11
11
# NGINX versions to build/test against
12
- nginx-version : ['1.20.2', '1.22.1', '1.24.0', '1.26.2', '1.27.3']
12
+ nginx-version : ['1.20.2'] # , '1.22.1', '1.24.0', '1.26.2', '1.27.3']
13
13
14
14
# The following versions of libjwt are compatible:
15
15
# * v1.0 - v1.12.0
19
19
# * Debian and Ubuntu's repos have v1.10.2
20
20
# * EPEL has v1.12.1
21
21
# This compiles against each version prior to a breaking change and the latest release
22
- libjwt-version : ['1.12.0', '1.14.0', '1.15.3']
22
+ libjwt-version : ['1.12.0'] # , '1.14.0', '1.15.3']
23
23
runs-on : ubuntu-latest
24
24
steps :
25
25
@@ -104,7 +104,8 @@ jobs:
104
104
uses : actions/upload-artifact@v4
105
105
with :
106
106
if-no-files-found : error
107
- name : ${{steps.meta.outputs.filename}}
107
+ name : release
108
+ path : ${{steps.meta.outputs.filename}}
108
109
109
110
release :
110
111
name : Create/Update Release
@@ -119,15 +120,28 @@ jobs:
119
120
run : |
120
121
echo "date_now=$(date --rfc-3339=seconds)" >> "${GITHUB_OUTPUT}"
121
122
122
- - name : Download Build Artifacts
123
+ - name : Download Artifacts
123
124
uses : actions/download-artifact@v4
124
125
with :
125
126
path : artifacts
126
127
127
- - name : Upload Builds to Release
128
+ - name : Flatten Artifacts
129
+ run : |
130
+ set -eu
131
+
132
+ cd artifacts
133
+
134
+ for f in $(find . -type f); do
135
+ echo "Staging: ${f}"
136
+ mv "${f}" .
137
+ done
138
+
139
+ find . -type d -mindepth 1 -exec rm -rf "{}" +
140
+
141
+ - name : Create/Update Release
128
142
uses : ncipollo/release-action@v1
129
143
with :
130
- name : ' Development Build : ${{ github.ref_name }}@${{ github.sha }}'
144
+ name : ' Pre-release : ${{ github.ref_name }}@${{ github.sha }}'
131
145
body : |
132
146
> [!WARNING]
133
147
> This is an automatically generated pre-release version of the module, which includes the latest master branch changes.
@@ -140,4 +154,3 @@ jobs:
140
154
removeArtifacts : true
141
155
artifactErrorsFailBuild : true
142
156
artifacts : artifacts/*
143
- tag : dev-build
0 commit comments