fixing the env var for publishing

This commit is contained in:
Joseph Flinn 2020-12-23 19:54:01 +00:00
parent 18031b80f0
commit 184f46cd8b
1 changed files with 14 additions and 17 deletions

View File

@ -105,50 +105,47 @@ jobs:
checksum -f="./dist/bw-linux-${env:PACKAGE_VERSION}.zip" ` checksum -f="./dist/bw-linux-${env:PACKAGE_VERSION}.zip" `
-t sha256 | Out-File -Encoding ASCII ./dist/bw-linux-sha256-${env:PACKAGE_VERSION}.txt -t sha256 | Out-File -Encoding ASCII ./dist/bw-linux-sha256-${env:PACKAGE_VERSION}.txt
- name: Debug Files
run: dir ./dist
- name: Publish windows zip to GitHub - name: Publish windows zip to GitHub
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: bw-windows-${{ env.PACKAGE_NAME }}.zip name: bw-windows-${{ env.PACKAGE_VERSION }}.zip
path: ./dist/bw-windows-${{ env.PACKAGE_NAME }}.zip path: ./dist/bw-windows-${{ env.PACKAGE_VERSION }}.zip
- name: Publish windows checksum to GitHub - name: Publish windows checksum to GitHub
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: bw-windows-sha256-${{ env.PACKAGE_NAME }}.txt name: bw-windows-sha256-${{ env.PACKAGE_VERSION }}.txt
path: ./dist/bw-windows-sha256-${{ env.PACKAGE_NAME }}.txt path: ./dist/bw-windows-sha256-${{ env.PACKAGE_VERSION }}.txt
- name: Publish macos zip to GitHub - name: Publish macos zip to GitHub
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: bw-macos-${{ env.PACKAGE_NAME }}.zip name: bw-macos-${{ env.PACKAGE_VERSION }}.zip
path: ./dist/bw-macos-${{ env.PACKAGE_NAME }}.zip path: ./dist/bw-macos-${{ env.PACKAGE_VERSION }}.zip
- name: Publish macos checksum to GitHub - name: Publish macos checksum to GitHub
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: bw-macos-sha256-${{ env.PACKAGE_NAME }}.txt name: bw-macos-sha256-${{ env.PACKAGE_VERSION }}.txt
path: ./dist/bw-macos-sha256-${{ env.PACKAGE_NAME }}.txt path: ./dist/bw-macos-sha256-${{ env.PACKAGE_VERSION }}.txt
- name: Publish linux zip to GitHub - name: Publish linux zip to GitHub
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: bw-linux-${{ env.PACKAGE_NAME }}.zip name: bw-linux-${{ env.PACKAGE_VERSION }}.zip
path: ./dist/bw-linux-${{ env.PACKAGE_NAME }}.zip path: ./dist/bw-linux-${{ env.PACKAGE_VERSION }}.zip
- name: Publish linux checksum to GitHub - name: Publish linux checksum to GitHub
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: bw-linux-sha256-${{ env.PACKAGE_NAME }}.txt name: bw-linux-sha256-${{ env.PACKAGE_VERSION }}.txt
path: ./dist/bw-linux-sha256-${{ env.PACKAGE_NAME }}.txt path: ./dist/bw-linux-sha256-${{ env.PACKAGE_VERSION }}.txt
- name: Publish Chocolatey CLI - name: Publish Chocolatey CLI
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: bitwarden-cli.${{ env.PACKAGE_NAME }}.nupkg name: bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg
path: ./dist/chocolatey/bitwarden-cli.${{ env.PACKAGE_NAME }}.nupkg path: ./dist/chocolatey/bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg
publish_windows: publish_windows: