Skip to content

Commit 0afab39

Browse files
committed
Test packaging
1 parent de45ae7 commit 0afab39

1 file changed

Lines changed: 19 additions & 12 deletions

File tree

.github/workflows/package.yml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '*'
7+
branches: ["bump-version-to-26-07"]
78
pull_request:
89
paths:
910
# Also run this workflow when this package.yml is update by a PR
@@ -81,18 +82,19 @@ jobs:
8182
run: cmake --build "$BUILD_DIR" --target package
8283

8384
- name: Generate artifact attestation
84-
if: github.ref_type == 'tag'
85+
# if: github.ref_type == 'tag'
8586
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
8687
with:
8788
subject-path: "${{ env.BUILD_DIR }}/*.tar.gz,${{ env.BUILD_DIR }}/*.deb,${{ env.BUILD_DIR }}/*.rpm"
8889

8990
- name: Upload binaries to release
90-
if: github.ref_type == 'tag'
91+
# if: github.ref_type == 'tag'
9192
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
9293
with:
9394
draft: true
9495
allowUpdates: true
9596
updateOnlyUnreleased: true
97+
tag: v26.07-test
9698
artifacts: "${{ env.BUILD_DIR }}/*.tar.gz,${{ env.BUILD_DIR }}/*.deb,${{ env.BUILD_DIR }}/*.rpm"
9799

98100
freebsd:
@@ -123,18 +125,19 @@ jobs:
123125
cmake --build "$BUILD_DIR" --target package
124126
125127
- name: Generate artifact attestation
126-
if: github.ref_type == 'tag'
128+
# if: github.ref_type == 'tag'
127129
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
128130
with:
129131
subject-path: "${{ env.BUILD_DIR }}/*.tar.gz"
130132

131133
- name: Upload binaries to release
132-
if: github.ref_type == 'tag'
134+
# if: github.ref_type == 'tag'
133135
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
134136
with:
135137
draft: true
136138
allowUpdates: true
137139
updateOnlyUnreleased: true
140+
tag: v26.07-test
138141
artifacts: "${{ env.BUILD_DIR }}/*.tar.gz"
139142

140143
macos:
@@ -178,18 +181,19 @@ jobs:
178181
run: cmake --build "$BUILD_DIR" --target package
179182

180183
- name: Generate artifact attestation
181-
if: github.ref_type == 'tag'
184+
# if: github.ref_type == 'tag'
182185
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
183186
with:
184187
subject-path: "${{ env.BUILD_DIR }}/*.tar.gz,${{ env.BUILD_DIR }}/*.pkg"
185188

186189
- name: Upload binaries to release
187-
if: github.ref_type == 'tag'
190+
# if: github.ref_type == 'tag'
188191
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
189192
with:
190193
draft: true
191194
allowUpdates: true
192195
updateOnlyUnreleased: true
196+
tag: v26.07-test
193197
artifacts: "${{ env.BUILD_DIR }}/*.tar.gz,${{ env.BUILD_DIR }}/*.pkg"
194198

195199
mingw-w64:
@@ -248,18 +252,19 @@ jobs:
248252
run: cmake --build "$BUILD_DIR" --target package
249253

250254
- name: Generate artifact attestation
251-
if: github.ref_type == 'tag'
255+
# if: github.ref_type == 'tag'
252256
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
253257
with:
254258
subject-path: "${{ env.BUILD_DIR }}/*.zip"
255259

256260
- name: Upload binaries to release
257-
if: github.ref_type == 'tag'
261+
# if: github.ref_type == 'tag'
258262
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
259263
with:
260264
draft: true
261265
allowUpdates: true
262266
updateOnlyUnreleased: true
267+
tag: v26.07-test
263268
artifacts: "${{ env.BUILD_DIR }}/*.zip"
264269

265270
visual-studio:
@@ -298,18 +303,19 @@ jobs:
298303
run: cmake --build "$env:BUILD_DIR" --config ${{ matrix.configuration }} --target package
299304

300305
- name: Generate artifact attestation
301-
if: github.ref_type == 'tag'
306+
# if: github.ref_type == 'tag'
302307
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
303308
with:
304309
subject-path: "${{ env.BUILD_DIR }}/*.zip"
305310

306311
- name: Upload binaries to release
307-
if: github.ref_type == 'tag'
312+
# if: github.ref_type == 'tag'
308313
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
309314
with:
310315
draft: true
311316
allowUpdates: true
312317
updateOnlyUnreleased: true
318+
tag: v26.07-test
313319
artifacts: "${{ env.BUILD_DIR }}/*.zip"
314320

315321
android-build:
@@ -389,16 +395,17 @@ jobs:
389395
tar cvf "${PACKAGE_DIR}.tar.gz" "${PACKAGE_DIR}"
390396
391397
- name: Generate artifact attestation
392-
if: github.ref_type == 'tag'
398+
# if: github.ref_type == 'tag'
393399
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
394400
with:
395401
subject-path: "${{ env.PACKAGE_DIR }}.tar.gz"
396402

397403
- name: Upload binaries to release
398-
if: github.ref_type == 'tag'
404+
# if: github.ref_type == 'tag'
399405
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
400406
with:
401407
draft: true
402408
allowUpdates: true
403409
updateOnlyUnreleased: true
410+
tag: v26.07-test
404411
artifacts: "${{ env.PACKAGE_DIR }}.tar.gz"

0 commit comments

Comments
 (0)