@@ -105,7 +105,7 @@ jobs:
105
105
ninja-build \
106
106
libjack-jackd2-dev
107
107
- name : Install abseil
108
- if : ${{ github.ref_type == 'branch' }}
108
+ if : github.ref_type == 'branch'
109
109
run : |
110
110
sudo apt-get install \
111
111
libabsl-dev \
@@ -160,13 +160,13 @@ jobs:
160
160
)
161
161
cmake "${options[@]}"
162
162
- name : Create tarball
163
- if : ${{ github.ref_type == 'tag' }}
163
+ if : github.ref_type == 'tag' || github.ref_name == 'release-test'
164
164
run : |
165
165
DESTDIR="$(pwd)/${{ env.install_name }}" \
166
166
cmake --build build --config ${{ env.build_type }} --target install
167
167
tar czvf "${{ env.install_name }}".tar.gz "${{ env.install_name }}"
168
168
- name : Upload
169
- if : ${{ github.ref_type == 'tag' }}
169
+ if : github.ref_type == 'tag' || github.ref_name == 'release-test'
170
170
uses : actions/upload-artifact@v3
171
171
with :
172
172
name : Linux tarball
@@ -184,7 +184,7 @@ jobs:
184
184
with :
185
185
submodules : recursive
186
186
- name : Install dependencies
187
- if : ${{ github.ref_type == 'branch' }}
187
+ if : github.ref_type == 'branch'
188
188
run : brew install abseil
189
189
- name : Configure CMake
190
190
run : |
@@ -233,13 +233,13 @@ jobs:
233
233
)
234
234
cmake "${options[@]}"
235
235
- name : Create tarball
236
- if : ${{ github.ref_type == 'tag' }}
236
+ if : github.ref_type == 'tag' || github.ref_name == 'release-test'
237
237
run : |
238
238
DESTDIR="$(pwd)/${{ env.install_name }}" \
239
239
cmake --build build --config ${{ env.build_type }} --target install
240
240
tar czvf "${{ env.install_name }}".tar.gz "${{ env.install_name }}"
241
241
- name : Upload
242
- if : ${{ github.ref_type == 'tag' }}
242
+ if : github.ref_type == 'tag' || github.ref_name == 'release-test'
243
243
uses : actions/upload-artifact@v3
244
244
with :
245
245
name : macOS tarball
@@ -299,17 +299,17 @@ jobs:
299
299
--parallel 2 `
300
300
--verbose `
301
301
- name : Create zip package
302
- if : ${{ github.ref_type == 'tag' }}
302
+ if : github.ref_type == 'tag' || github.ref_name == 'release-test'
303
303
run : 7z a "${{ env.install_name }}.zip" ".\build\library\*"
304
304
- name : Upload
305
- if : ${{ github.ref_type == 'tag' }}
305
+ if : github.ref_type == 'tag' || github.ref_name == 'release-test'
306
306
uses : actions/upload-artifact@v3
307
307
with :
308
308
name : ${{ matrix.pkg_platform }} zip package
309
309
path : " ${{ github.workspace }}/${{ env.install_name }}.zip"
310
310
311
311
archive_source_code :
312
- if : ${{ github.ref_type == 'tag' }}
312
+ if : github.ref_type == 'tag' || github.ref_name == 'release-test'
313
313
name : Source code archive
314
314
runs-on : ubuntu-20.04
315
315
timeout-minutes : 2
@@ -415,12 +415,12 @@ jobs:
415
415
make -C "${{ github.workspace }}" -f simple.mk
416
416
417
417
deploy :
418
- if : ${{ github.ref_type == 'tag' }}
418
+ if : github.ref_type == 'tag'
419
419
runs-on : ubuntu-20.04
420
420
needs :
421
421
- build_for_linux
422
422
- build_for_macos
423
- # - build_for_mod
423
+ # build_for_mod
424
424
- build_for_windows
425
425
- archive_source_code
426
426
steps :
0 commit comments