Skip to content

Commit

Permalink
Merge pull request #51 from dimitrismistriotis/actions/remove-set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitrismistriotis authored Aug 7, 2024
2 parents 887b405 + 1b367db commit df38609
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/package_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# https://futurestud.io/tutorials/github-actions-run-a-workflow-when-creating-a-tag
#
name: "Release"
on:
on:
push:
tags:
- 'v*'
- "v*"
jobs:
pypi_upload:
runs-on: ubuntu-latest
Expand All @@ -20,15 +20,15 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12" # Latest no need to change as one copy will be delivered
#
python-version: "3.12" # Latest no need to change as one copy will be delivered
#
# Get tag:
#
#
# https://github.com/orgs/community/discussions/26686
#
#
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
run: echo "VERSION=${GITHUB_REF/refs/tags/v/}" >> $GITHUB_OUTPUT
# - run "echo "Uploading as ${TWINE_USERNAME}"
- run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit df38609

Please sign in to comment.