mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 21:57:41 +00:00
ci(windows): fix installer condition (#4056)
This commit is contained in:
parent
ef831ee84f
commit
b8cbd7748c
8
.github/workflows/workflow.yml
vendored
8
.github/workflows/workflow.yml
vendored
@ -194,9 +194,7 @@ jobs:
|
|||||||
# On stable rust & main repo pushes only
|
# On stable rust & main repo pushes only
|
||||||
- name: Install cargo-wix [Windows]
|
- name: Install cargo-wix [Windows]
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: >
|
if: matrix.os == 'windows-latest' && matrix.rust == 'stable'
|
||||||
matrix.os == 'windows-latest' && matrix.rust == 'stable' &&
|
|
||||||
github.repository == 'starship/starship' && github.event.type == 'push_event'
|
|
||||||
run: cargo install --version 0.3.2 cargo-wix
|
run: cargo install --version 0.3.2 cargo-wix
|
||||||
env:
|
env:
|
||||||
# cargo-wix does not require static crt
|
# cargo-wix does not require static crt
|
||||||
@ -221,9 +219,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build | Installer [Windows]
|
- name: Build | Installer [Windows]
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: >
|
if: matrix.os == 'windows-latest' && matrix.rust == 'stable'
|
||||||
matrix.os == 'windows-latest' && matrix.rust == 'stable' &&
|
|
||||||
github.repository == 'starship/starship' && github.event.type == 'push_event'
|
|
||||||
uses: actions-rs/cargo@v1.0.3
|
uses: actions-rs/cargo@v1.0.3
|
||||||
with:
|
with:
|
||||||
command: wix
|
command: wix
|
||||||
|
Loading…
Reference in New Issue
Block a user