mirror of
https://github.com/bitwarden/desktop.git
synced 2025-02-22 02:11:26 +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
|
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
|
- name: Upload artifacts
|
||||||
if: runner.os == 'Linux' || runner.os == 'Windows'
|
if: runner.os == 'Linux' || runner.os == 'Windows'
|
||||||
uses: actions/upload-artifact@v2-preview
|
uses: actions/upload-artifact@v2-preview
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: artifacts
|
||||||
path: dist/*
|
path: artifacts/*
|
||||||
|
Loading…
Reference in New Issue
Block a user