mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
Update GitHub Actions, powershell is default on windows (#3195)
https://github.blog/changelog/2019-10-17-github-actions-default-shell-on-windows-runners-is-changing-to-powershell/
This commit is contained in:
parent
073b64bd43
commit
f96aaa802b
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -78,8 +78,8 @@ jobs:
|
|||
- name: Environment (windows)
|
||||
if: startsWith(matrix.os, 'windows')
|
||||
run: |
|
||||
echo ::add-path::%cd%\prebuilt\win
|
||||
echo ::add-path::%cd%\target\release
|
||||
echo ::add-path::$(pwd)\prebuilt\win
|
||||
echo ::add-path::$(pwd)\target\release
|
||||
|
||||
- name: Log versions
|
||||
run: |
|
||||
|
@ -122,7 +122,7 @@ jobs:
|
|||
if: matrix.kind == 'test_std'
|
||||
run: |
|
||||
cd std
|
||||
"../target/release/deno" test -A
|
||||
../target/release/deno test -A
|
||||
|
||||
- name: Test
|
||||
if: matrix.kind == 'test'
|
||||
|
@ -169,7 +169,7 @@ jobs:
|
|||
|
||||
- name: Pre-release (windows)
|
||||
if: startsWith(matrix.os, 'windows') && matrix.kind == 'test'
|
||||
run: PowerShell -Command "& {Compress-Archive -CompressionLevel Optimal -Force -Path target/release/deno.exe -DestinationPath target/release/deno_win_x64.zip}"
|
||||
run: Compress-Archive -CompressionLevel Optimal -Force -Path target/release/deno.exe -DestinationPath target/release/deno_win_x64.zip
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
|
Loading…
Reference in a new issue