|
4 | 4 | push: |
5 | 5 | tags: |
6 | 6 | - '*' |
| 7 | + branches: ["bump-version-to-26-07"] |
7 | 8 | pull_request: |
8 | 9 | paths: |
9 | 10 | # Also run this workflow when this package.yml is update by a PR |
@@ -81,18 +82,19 @@ jobs: |
81 | 82 | run: cmake --build "$BUILD_DIR" --target package |
82 | 83 |
|
83 | 84 | - name: Generate artifact attestation |
84 | | - if: github.ref_type == 'tag' |
| 85 | + # if: github.ref_type == 'tag' |
85 | 86 | uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 |
86 | 87 | with: |
87 | 88 | subject-path: "${{ env.BUILD_DIR }}/*.tar.gz,${{ env.BUILD_DIR }}/*.deb,${{ env.BUILD_DIR }}/*.rpm" |
88 | 89 |
|
89 | 90 | - name: Upload binaries to release |
90 | | - if: github.ref_type == 'tag' |
| 91 | + # if: github.ref_type == 'tag' |
91 | 92 | uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0 |
92 | 93 | with: |
93 | 94 | draft: true |
94 | 95 | allowUpdates: true |
95 | 96 | updateOnlyUnreleased: true |
| 97 | + tag: v26.07-test |
96 | 98 | artifacts: "${{ env.BUILD_DIR }}/*.tar.gz,${{ env.BUILD_DIR }}/*.deb,${{ env.BUILD_DIR }}/*.rpm" |
97 | 99 |
|
98 | 100 | freebsd: |
@@ -123,18 +125,19 @@ jobs: |
123 | 125 | cmake --build "$BUILD_DIR" --target package |
124 | 126 |
|
125 | 127 | - name: Generate artifact attestation |
126 | | - if: github.ref_type == 'tag' |
| 128 | + # if: github.ref_type == 'tag' |
127 | 129 | uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 |
128 | 130 | with: |
129 | 131 | subject-path: "${{ env.BUILD_DIR }}/*.tar.gz" |
130 | 132 |
|
131 | 133 | - name: Upload binaries to release |
132 | | - if: github.ref_type == 'tag' |
| 134 | + # if: github.ref_type == 'tag' |
133 | 135 | uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0 |
134 | 136 | with: |
135 | 137 | draft: true |
136 | 138 | allowUpdates: true |
137 | 139 | updateOnlyUnreleased: true |
| 140 | + tag: v26.07-test |
138 | 141 | artifacts: "${{ env.BUILD_DIR }}/*.tar.gz" |
139 | 142 |
|
140 | 143 | macos: |
@@ -178,18 +181,19 @@ jobs: |
178 | 181 | run: cmake --build "$BUILD_DIR" --target package |
179 | 182 |
|
180 | 183 | - name: Generate artifact attestation |
181 | | - if: github.ref_type == 'tag' |
| 184 | + # if: github.ref_type == 'tag' |
182 | 185 | uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 |
183 | 186 | with: |
184 | 187 | subject-path: "${{ env.BUILD_DIR }}/*.tar.gz,${{ env.BUILD_DIR }}/*.pkg" |
185 | 188 |
|
186 | 189 | - name: Upload binaries to release |
187 | | - if: github.ref_type == 'tag' |
| 190 | + # if: github.ref_type == 'tag' |
188 | 191 | uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0 |
189 | 192 | with: |
190 | 193 | draft: true |
191 | 194 | allowUpdates: true |
192 | 195 | updateOnlyUnreleased: true |
| 196 | + tag: v26.07-test |
193 | 197 | artifacts: "${{ env.BUILD_DIR }}/*.tar.gz,${{ env.BUILD_DIR }}/*.pkg" |
194 | 198 |
|
195 | 199 | mingw-w64: |
@@ -248,18 +252,19 @@ jobs: |
248 | 252 | run: cmake --build "$BUILD_DIR" --target package |
249 | 253 |
|
250 | 254 | - name: Generate artifact attestation |
251 | | - if: github.ref_type == 'tag' |
| 255 | + # if: github.ref_type == 'tag' |
252 | 256 | uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 |
253 | 257 | with: |
254 | 258 | subject-path: "${{ env.BUILD_DIR }}/*.zip" |
255 | 259 |
|
256 | 260 | - name: Upload binaries to release |
257 | | - if: github.ref_type == 'tag' |
| 261 | + # if: github.ref_type == 'tag' |
258 | 262 | uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0 |
259 | 263 | with: |
260 | 264 | draft: true |
261 | 265 | allowUpdates: true |
262 | 266 | updateOnlyUnreleased: true |
| 267 | + tag: v26.07-test |
263 | 268 | artifacts: "${{ env.BUILD_DIR }}/*.zip" |
264 | 269 |
|
265 | 270 | visual-studio: |
@@ -298,18 +303,19 @@ jobs: |
298 | 303 | run: cmake --build "$env:BUILD_DIR" --config ${{ matrix.configuration }} --target package |
299 | 304 |
|
300 | 305 | - name: Generate artifact attestation |
301 | | - if: github.ref_type == 'tag' |
| 306 | + # if: github.ref_type == 'tag' |
302 | 307 | uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 |
303 | 308 | with: |
304 | 309 | subject-path: "${{ env.BUILD_DIR }}/*.zip" |
305 | 310 |
|
306 | 311 | - name: Upload binaries to release |
307 | | - if: github.ref_type == 'tag' |
| 312 | + # if: github.ref_type == 'tag' |
308 | 313 | uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0 |
309 | 314 | with: |
310 | 315 | draft: true |
311 | 316 | allowUpdates: true |
312 | 317 | updateOnlyUnreleased: true |
| 318 | + tag: v26.07-test |
313 | 319 | artifacts: "${{ env.BUILD_DIR }}/*.zip" |
314 | 320 |
|
315 | 321 | android-build: |
@@ -389,16 +395,17 @@ jobs: |
389 | 395 | tar cvf "${PACKAGE_DIR}.tar.gz" "${PACKAGE_DIR}" |
390 | 396 |
|
391 | 397 | - name: Generate artifact attestation |
392 | | - if: github.ref_type == 'tag' |
| 398 | + # if: github.ref_type == 'tag' |
393 | 399 | uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 |
394 | 400 | with: |
395 | 401 | subject-path: "${{ env.PACKAGE_DIR }}.tar.gz" |
396 | 402 |
|
397 | 403 | - name: Upload binaries to release |
398 | | - if: github.ref_type == 'tag' |
| 404 | + # if: github.ref_type == 'tag' |
399 | 405 | uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0 |
400 | 406 | with: |
401 | 407 | draft: true |
402 | 408 | allowUpdates: true |
403 | 409 | updateOnlyUnreleased: true |
| 410 | + tag: v26.07-test |
404 | 411 | artifacts: "${{ env.PACKAGE_DIR }}.tar.gz" |
0 commit comments