Skip to content

Commit 9c65b3b

Browse files
committed
Fix environment variables
1 parent 51c585b commit 9c65b3b

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build_zipapp.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ jobs:
5656
- name: Upload artifact signature to GitHub Release
5757
env:
5858
GITHUB_TOKEN: ${{ github.token }}
59+
shell: bash
5960
# Upload to GitHub Release using the `gh` CLI.
6061
# `dist/` contains the built packages, and the
6162
# sigstore-produced signatures and certificates.
6263
run: >-
6364
gh release upload
64-
'${{ github.ref_name }}' dist/**
65-
--repo '${{ github.repository }}'
65+
"${GITHUB_REF_NAME}" dist/**
66+
--repo "${GITHUB_REPOSITORY}"

.github/workflows/publish_to_pypi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,11 @@ jobs:
8282
- name: Upload artifact signatures to GitHub Release
8383
env:
8484
GITHUB_TOKEN: ${{ github.token }}
85+
shell: bash
8586
# Upload to GitHub Release using the `gh` CLI.
8687
# `dist/` contains the built packages, and the
8788
# sigstore-produced signatures and certificates.
8889
run: >-
8990
gh release upload
90-
'${{ github.ref_name }}' dist/**
91-
--repo '${{ github.repository }}'
91+
"${GITHUB_REF_NAME}" dist/**
92+
--repo "${GITHUB_REPOSITORY}"

0 commit comments

Comments
 (0)