mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-30 14:35:21 -04:00
[ci] set MinGW to produce ALPHA or BETA off release
* Also avoid tagged release duplication
This commit is contained in:
parent
aba6c7d996
commit
fba24170e1
5 changed files with 20 additions and 7 deletions
1
.github/workflows/coverity.yml
vendored
1
.github/workflows/coverity.yml
vendored
|
@ -2,6 +2,7 @@ name: Coverity
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths-ignore:
|
||||
- '.gitignore'
|
||||
- '.gitattributes'
|
||||
|
|
13
.github/workflows/mingw.yml
vendored
13
.github/workflows/mingw.yml
vendored
|
@ -13,6 +13,7 @@ on:
|
|||
- '**.txt'
|
||||
- '**.xml'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths-ignore:
|
||||
- '.gitignore'
|
||||
- '.gitattributes'
|
||||
|
@ -56,9 +57,19 @@ jobs:
|
|||
fetch-depth: 0
|
||||
submodules: recursive
|
||||
|
||||
- name: Set ALPHA
|
||||
id: set_alpha
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
run: echo "::set-output name=option::--enable-alpha"
|
||||
|
||||
- name: Set BETA
|
||||
id: set_beta
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'BETA') }}
|
||||
run: echo "::set-output name=option::--enable-beta"
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
./configure --disable-debug
|
||||
./configure --disable-debug ${{ steps.set_alpha.outputs.option }} ${{ steps.set_beta.outputs.option }}
|
||||
make -j4
|
||||
mv ./src/rufus.exe .
|
||||
strip ./rufus.exe
|
||||
|
|
1
.github/workflows/vs2019.yml
vendored
1
.github/workflows/vs2019.yml
vendored
|
@ -13,6 +13,7 @@ on:
|
|||
- '**.txt'
|
||||
- '**.xml'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths-ignore:
|
||||
- '.gitignore'
|
||||
- '.gitattributes'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue