creating quick test of the workflow dispatch input

This commit is contained in:
Joseph Flinn 2021-01-19 18:17:05 +00:00
parent 686b6931dc
commit 1a3cfb5201
1 changed files with 9 additions and 1 deletions

View File

@ -111,6 +111,15 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
environment: test_ast environment: test_ast
steps: steps:
- name: Testing workflow_dispatch input
shell: pwsh
run: |
Write-Host "Version: $($env:RELEASE_TAG_NAME)"
Write-Host "Release Tag Name: $($env:RELEASE_TAG_NAME.TrimStart('v'))"
exit 1
env:
RELEASE_TAG_NAME: ${{ github.event.input.release_tag_name }}
- name: Set up dotnet - name: Set up dotnet
uses: actions/setup-dotnet@v1 uses: actions/setup-dotnet@v1
with: with:
@ -356,7 +365,6 @@ jobs:
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
- name: Upload release assets - name: Upload release assets
shell: pwsh
run: | run: |
hub release edit ` hub release edit `
-a ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg ` -a ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg `