mirror of
https://github.com/bitwarden/cli
synced 2025-12-27 13:33:15 +00:00
Updating the version of snapcore/build-action to the latest to get rid of the error on empty server response (#373)
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
jobs:
|
||||
cloc:
|
||||
name: CLOC
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
|
||||
cli:
|
||||
name: Build CLI
|
||||
runs-on: windows-latest
|
||||
runs-on: windows-2019
|
||||
env:
|
||||
_WIN_PKG_FETCH_VERSION: 14.17.0
|
||||
_WIN_PKG_VERSION: 3.1
|
||||
@@ -170,7 +170,7 @@ jobs:
|
||||
|
||||
snap:
|
||||
name: Build Snap
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
needs: cli
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
@@ -204,7 +204,7 @@ jobs:
|
||||
ls -alth
|
||||
|
||||
- name: Build snap
|
||||
uses: snapcore/action-build@6dd3202e55fccbcf8482a61f38fe630d655a2728 # v1.0.8
|
||||
uses: snapcore/action-build@a400bf1c2d0f23074aaacf08a144813c3c20b35d # v1.0.9
|
||||
with:
|
||||
path: dist/snap
|
||||
|
||||
@@ -212,7 +212,8 @@ jobs:
|
||||
run: |
|
||||
cd dist/snap
|
||||
ls -alth
|
||||
sha256sum bw_${{ env.PACKAGE_VERSION }}_amd64.snap | awk '{split($0, a); print a[1]}' > bw-snap-sha256-${{ env.PACKAGE_VERSION }}.txt
|
||||
sha256sum bw_${{ env.PACKAGE_VERSION }}_amd64.snap \
|
||||
| awk '{split($0, a); print a[1]}' > bw-snap-sha256-${{ env.PACKAGE_VERSION }}.txt
|
||||
|
||||
- name: Install Snap
|
||||
run: sudo snap install dist/snap/bw*.snap --dangerous
|
||||
|
||||
Reference in New Issue
Block a user