Skip to content

Commit

Permalink
Echo github env variable for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaswell-bcgov committed Apr 25, 2024
1 parent bf2cb16 commit 18d7ede
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/buildTestPublishContainerDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,16 @@ jobs:
- name: Set package version
run: |
echo "notifyBCContainerTag=$(npm pkg get version)" >> $GITHUB_ENV
npm pkg get version
publish-container:
if: ${{ github.repository == 'bcgov/des-notifybc' && github.event_name != 'pull_request' }}
needs: build-and-test
runs-on: ubuntu-latest
steps:
- name: Save $notifyBCContainerTag to file
run: |
echo $notifyBCContainerTag
echo $notifyBCContainerTag > notifyBCContainerTag.txt
- name: Upload notifyBCContainerTag
if: ${{ startsWith(github.ref, 'refs/heads/') }}
uses: actions/upload-artifact@v4
with:
name: notifyBCContainerTag
Expand Down

0 comments on commit 18d7ede

Please sign in to comment.