mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
switching to local zip versus one that has already been released
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
- name: Print lines of code
|
- name: Print lines of code
|
||||||
run: cloc --include-lang TypeScript,JavaScript --vcs git
|
run: cloc --include-lang TypeScript,JavaScript --vcs git
|
||||||
|
|
||||||
windows:
|
cli:
|
||||||
name: Build CLI
|
name: Build CLI
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -167,9 +167,11 @@ jobs:
|
|||||||
path: ./dist/chocolatey/bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg
|
path: ./dist/chocolatey/bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg
|
||||||
|
|
||||||
|
|
||||||
linux:
|
snap:
|
||||||
name: Build Snap
|
name: Build Snap
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: cli
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -194,10 +196,16 @@ jobs:
|
|||||||
GITHUB_REF: ${{ github.ref }}
|
GITHUB_REF: ${{ github.ref }}
|
||||||
GITHUB_EVENT: ${{ github.event_name }}
|
GITHUB_EVENT: ${{ github.event_name }}
|
||||||
|
|
||||||
|
- name: Get bw linux cli
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: bw-linux-${{ env.PACKAGE_VERSION }}.zip
|
||||||
|
path: ./dist/bw-linux-${{ env.PACKAGE_VERSION }}.zip
|
||||||
|
|
||||||
- name: Build Snap Package
|
- name: Build Snap Package
|
||||||
run: |
|
run: |
|
||||||
mkdir -p dist/snap
|
mkdir -p dist
|
||||||
cp -r stores/snap -t dist/snap
|
cp -r stores/snap -t dist
|
||||||
sed -i s/__version__/${{ env.PACKAGE_VERSION }}/g dist/snap/snapcraft.yaml
|
sed -i s/__version__/${{ env.PACKAGE_VERSION }}/g dist/snap/snapcraft.yaml
|
||||||
|
|
||||||
cd dist/snap
|
cd dist/snap
|
||||||
|
|||||||
Reference in New Issue
Block a user