1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

Compile artifacts

This commit is contained in:
Kyle Spearrin 2020-03-24 11:24:16 -04:00
parent fedc03dbae
commit 0dca6cba8c

View File

@ -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/*