Skip to content

Commit

Permalink
Substitute env.GITHUB_REF_NAME for github.ref_name
Browse files Browse the repository at this point in the history
People online believe env.GITHUB_REF_NAME should work, but, it doesn't
work here. github.ref_name does. It must depend on the context somehow.
  • Loading branch information
user committed Feb 16, 2023
1 parent a38bd09 commit d3e40de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
with:
owner: koordinates
repo: kart-qgis-plugin
tag: ${{ env.GITHUB_REF_NAME }}
file: "kart-${{ env.GITHUB_REF_NAME }}.zip"
tag: ${{ github.ref_name }}
file: "kart-${{ github.ref_name }}.zip"

- name: Publish to QGIS
env:
QGIS_CREDENTIALS: ${{ secrets.QGIS_CREDENTIALS }}
run: |
./helper.py publish kart-${{ env.GITHUB_REF_NAME }}.zip
./helper.py publish kart-${{ github.ref_name }}.zip

0 comments on commit d3e40de

Please sign in to comment.