diff options
author | Kang Huaishuai <khs1994@khs1994.com> | 2019-10-25 03:13:46 +0800 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-10-24 15:13:46 -0400 |
commit | f96aaa802b245c8b3aeb5d57b031f8a55bb07de2 (patch) | |
tree | 2940943249a00c75717750ff5ad1acdd2c6e82cf | |
parent | 073b64bd43d31bac947255f6f194d7fa12d62183 (diff) |
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/
-rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b50ebf2cb..ee33541ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 |