Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Following the example from https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions and adding a debug step to verify.
  • Loading branch information
di authored Nov 13, 2023
1 parent bd86b09 commit 7c66796
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ jobs:
cache-dependency-path: .github/workflows/release.yml
- name: Version
id: version
run: echo "version=$(python setup.py --version 2>/dev/null)" >> $GITHUB_OUTPUT
run: |
version=$(python setup.py --version 2>/dev/null)
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Debug
run: |
echo "The version is ${{ steps.version.outputs.version }}"
- name: Tag
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit 7c66796

Please sign in to comment.