mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(CI): Remove "setup" from Windows zip file name
Matches previous behaviour, and the zips don't do any installation.
This commit is contained in:
parent
c726b9ce23
commit
2f92a5f2f0
12
.github/workflows/build-test-deploy.yaml
vendored
12
.github/workflows/build-test-deploy.yaml
vendored
|
@ -346,7 +346,7 @@ jobs:
|
||||||
- name: Upload zip
|
- name: Upload zip
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: setup-qtox-x86_64-${{ matrix.build_type }}.zip
|
name: qtox-x86_64-${{ matrix.build_type }}.zip
|
||||||
path: install-prefix/qtox-x86_64-${{ matrix.build_type }}.zip
|
path: install-prefix/qtox-x86_64-${{ matrix.build_type }}.zip
|
||||||
- name: Rename exe for release upload
|
- name: Rename exe for release upload
|
||||||
if: contains(github.ref, 'refs/tags/v') && matrix.build_type == 'release'
|
if: contains(github.ref, 'refs/tags/v') && matrix.build_type == 'release'
|
||||||
|
@ -363,7 +363,7 @@ jobs:
|
||||||
artifacts: "setup-qtox-x86_64-release.exe,setup-qtox-x86_64-release.exe.sha256"
|
artifacts: "setup-qtox-x86_64-release.exe,setup-qtox-x86_64-release.exe.sha256"
|
||||||
- name: Rename zip for nightly upload
|
- name: Rename zip for nightly upload
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
run: cp install-prefix/qtox-x86_64-${{ matrix.build_type }}.zip setup-qtox-nightly-x86_64-${{ matrix.build_type }}.zip
|
run: cp install-prefix/qtox-x86_64-${{ matrix.build_type }}.zip qtox-nightly-x86_64-${{ matrix.build_type }}.zip
|
||||||
- name: Upload zip to nightly release
|
- name: Upload zip to nightly release
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
|
@ -373,7 +373,7 @@ jobs:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
replacesArtifacts: true
|
replacesArtifacts: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
artifacts: "setup-qtox-nightly-x86_64-${{ matrix.build_type }}.zip"
|
artifacts: "qtox-nightly-x86_64-${{ matrix.build_type }}.zip"
|
||||||
build-windows-i686:
|
build-windows-i686:
|
||||||
name: Windows i686
|
name: Windows i686
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -404,7 +404,7 @@ jobs:
|
||||||
- name: Upload zip
|
- name: Upload zip
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: setup-qtox-i686-${{ matrix.build_type }}.zip
|
name: qtox-i686-${{ matrix.build_type }}.zip
|
||||||
path: install-prefix/qtox-i686-${{ matrix.build_type }}.zip
|
path: install-prefix/qtox-i686-${{ matrix.build_type }}.zip
|
||||||
- name: Rename exe for release upload
|
- name: Rename exe for release upload
|
||||||
if: contains(github.ref, 'refs/tags/v') && matrix.build_type == 'release'
|
if: contains(github.ref, 'refs/tags/v') && matrix.build_type == 'release'
|
||||||
|
@ -421,7 +421,7 @@ jobs:
|
||||||
artifacts: "setup-qtox-i686-release.exe,setup-qtox-i686-release.exe.sha256"
|
artifacts: "setup-qtox-i686-release.exe,setup-qtox-i686-release.exe.sha256"
|
||||||
- name: Rename zip for nightly upload
|
- name: Rename zip for nightly upload
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
run: cp install-prefix/qtox-i686-${{ matrix.build_type }}.zip setup-qtox-nightly-i686-${{ matrix.build_type }}.zip
|
run: cp install-prefix/qtox-i686-${{ matrix.build_type }}.zip qtox-nightly-i686-${{ matrix.build_type }}.zip
|
||||||
- name: Upload zip to nightly release
|
- name: Upload zip to nightly release
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
|
@ -431,7 +431,7 @@ jobs:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
replacesArtifacts: true
|
replacesArtifacts: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
artifacts: "setup-qtox-nightly-i686-${{ matrix.build_type }}.zip"
|
artifacts: "qtox-nightly-i686-${{ matrix.build_type }}.zip"
|
||||||
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