mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
Compile artifacts
This commit is contained in:
parent
fedc03dbae
commit
0dca6cba8c
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@ -76,9 +76,22 @@ jobs:
|
||||
npm run build
|
||||
}
|
||||
|
||||
- name: Compile artifacts
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p artifacts
|
||||
if [ "$RUNNER_OS" == "Linux" ];then
|
||||
cp ./dist/*.{snap,AppImage,deb,rpm,freebsd} ./artifacts
|
||||
elif [ "$RUNNER_OS" == "Windows ]; then
|
||||
cp ./dist/Bitwarden-*-x64.appx ./artifacts/Bitwarden-$PACKAGE_VERSION-x64-store.appx
|
||||
cp ./dist/Bitwarden-*-ia32.appx ./artifacts/Bitwarden-$PACKAGE_VERSION-ia32-store.appx
|
||||
cp ./dist/Bitwarden-Portable-*.exe ./artifacts
|
||||
cp ./dist/nsis-web/Bitwarden-Installer-*.exe ./artifacts
|
||||
fi
|
||||
|
||||
- name: Upload artifacts
|
||||
if: runner.os == 'Linux' || runner.os == 'Windows'
|
||||
uses: actions/upload-artifact@v2-preview
|
||||
with:
|
||||
name: dist
|
||||
path: dist/*
|
||||
name: artifacts
|
||||
path: artifacts/*
|
||||
|
Loading…
Reference in New Issue
Block a user