mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-27 23:31:41 +02:00
adding artifact uploads for the rc branch (#245)
This commit is contained in:
parent
6cb75e508a
commit
0a5f370fc2
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -108,7 +108,7 @@ jobs:
|
|||
}
|
||||
|
||||
- name: Create checksums
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
run: |
|
||||
checksum -f="./dist/bw-windows-${env:PACKAGE_VERSION}.zip" `
|
||||
-t sha256 | Out-File -Encoding ASCII ./dist/bw-windows-sha256-${env:PACKAGE_VERSION}.txt
|
||||
|
@ -118,49 +118,49 @@ jobs:
|
|||
-t sha256 | Out-File -Encoding ASCII ./dist/bw-linux-sha256-${env:PACKAGE_VERSION}.txt
|
||||
|
||||
- name: Publish windows zip to GitHub
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bw-windows-${{ env.PACKAGE_VERSION }}.zip
|
||||
path: ./dist/bw-windows-${{ env.PACKAGE_VERSION }}.zip
|
||||
|
||||
- name: Publish windows checksum to GitHub
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bw-windows-sha256-${{ env.PACKAGE_VERSION }}.txt
|
||||
path: ./dist/bw-windows-sha256-${{ env.PACKAGE_VERSION }}.txt
|
||||
|
||||
- name: Publish macos zip to GitHub
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bw-macos-${{ env.PACKAGE_VERSION }}.zip
|
||||
path: ./dist/bw-macos-${{ env.PACKAGE_VERSION }}.zip
|
||||
|
||||
- name: Publish macos checksum to GitHub
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bw-macos-sha256-${{ env.PACKAGE_VERSION }}.txt
|
||||
path: ./dist/bw-macos-sha256-${{ env.PACKAGE_VERSION }}.txt
|
||||
|
||||
- name: Publish linux zip to GitHub
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bw-linux-${{ env.PACKAGE_VERSION }}.zip
|
||||
path: ./dist/bw-linux-${{ env.PACKAGE_VERSION }}.zip
|
||||
|
||||
- name: Publish linux checksum to GitHub
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bw-linux-sha256-${{ env.PACKAGE_VERSION }}.txt
|
||||
path: ./dist/bw-linux-sha256-${{ env.PACKAGE_VERSION }}.txt
|
||||
|
||||
- name: Publish Chocolatey CLI
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg
|
||||
|
@ -171,7 +171,7 @@ jobs:
|
|||
name: Build Snap
|
||||
runs-on: ubuntu-latest
|
||||
needs: cli
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
@ -230,14 +230,12 @@ jobs:
|
|||
sudo snap remove bw
|
||||
|
||||
- name: Publish snap to GitHub
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bw_${{ env.PACKAGE_VERSION }}_amd64.snap
|
||||
path: ./dist/snap/bw_${{ env.PACKAGE_VERSION }}_amd64.snap
|
||||
|
||||
- name: Publish snap checksum to GitHub
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bw-snap-sha256-${{ env.PACKAGE_VERSION }}.txt
|
||||
|
|
Loading…
Reference in New Issue
Block a user