mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(CI): Don't upload Windows setup exe to nightly release
Matches previous behaviour from travis. Avoids spreading a possibly buggy nightly around a tester's system.
This commit is contained in:
parent
de924cfdc7
commit
c726b9ce23
26
.github/workflows/build-test-deploy.yaml
vendored
26
.github/workflows/build-test-deploy.yaml
vendored
|
@ -374,19 +374,6 @@ jobs:
|
||||||
replacesArtifacts: true
|
replacesArtifacts: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
artifacts: "setup-qtox-nightly-x86_64-${{ matrix.build_type }}.zip"
|
artifacts: "setup-qtox-nightly-x86_64-${{ matrix.build_type }}.zip"
|
||||||
- name: Rename exe for nightly upload
|
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.build_type == 'release'
|
|
||||||
run: cp package-prefix/setup-qtox.exe setup-qtox-nightly-x86_64-release.exe
|
|
||||||
- name: Upload exe to nightly release
|
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.build_type == 'release'
|
|
||||||
uses: ncipollo/release-action@v1
|
|
||||||
with:
|
|
||||||
allowUpdates: true
|
|
||||||
tag: nightly
|
|
||||||
prerelease: true
|
|
||||||
replacesArtifacts: true
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
artifacts: "setup-qtox-nightly-x86_64-release.exe"
|
|
||||||
build-windows-i686:
|
build-windows-i686:
|
||||||
name: Windows i686
|
name: Windows i686
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -445,19 +432,6 @@ jobs:
|
||||||
replacesArtifacts: true
|
replacesArtifacts: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
artifacts: "setup-qtox-nightly-i686-${{ matrix.build_type }}.zip"
|
artifacts: "setup-qtox-nightly-i686-${{ matrix.build_type }}.zip"
|
||||||
- name: Rename exe for nightly upload
|
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.build_type == 'release'
|
|
||||||
run: cp package-prefix/setup-qtox.exe setup-qtox-nightly-i686-release.exe
|
|
||||||
- name: Upload exe to nightly release
|
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.build_type == 'release'
|
|
||||||
uses: ncipollo/release-action@v1
|
|
||||||
with:
|
|
||||||
allowUpdates: true
|
|
||||||
tag: nightly
|
|
||||||
prerelease: true
|
|
||||||
replacesArtifacts: true
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
artifacts: "setup-qtox-nightly-i686-release.exe"
|
|
||||||
build-osx:
|
build-osx:
|
||||||
name: macOS
|
name: macOS
|
||||||
runs-on: macos-10.15
|
runs-on: macos-10.15
|
||||||
|
|
Loading…
Reference in New Issue
Block a user