Skip to content

Commit

Permalink
print used version
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf committed Aug 30, 2024
1 parent 295de89 commit b6de70b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@ jobs:
run: |
if [ -n "${{ github.event.inputs.version }}" ]; then
echo "RELEASE_VERSION=$(echo ${{ github.event.inputs.version }} | tr -d ['v'])" >> $GITHUB_ENV
cat $GITHUB_ENV
exit 0
fi
if [ -n "${{ github.event.client_payload.version }}" ]; then
echo "RELEASE_VERSION=$(echo ${{ github.event.client_payload.version }} | tr -d ['v'])" >> $GITHUB_ENV
cat $GITHUB_ENV
exit 0
fi
echo "Version not provided"
exit 1
cat $GITHUB_ENV
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
Expand Down

0 comments on commit b6de70b

Please sign in to comment.