Skip to content

Commit 6478489

Browse files
Add actions/checkout step for gh CLI to run (#289)
1 parent 9a5634f commit 6478489

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/cd.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ jobs:
5252
id-token: write
5353
attestations: write
5454
steps:
55+
- name: Checkout
56+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
57+
with:
58+
persist-credentials: false
59+
fetch-depth: 0
60+
5561
- name: Download the built app
5662
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
5763
with:
@@ -85,7 +91,8 @@ jobs:
8591
- name: Create and publish release
8692
env:
8793
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94+
GH_REF_NAME: ${{ github.ref_name }}
8895
run: |
89-
gh release create ${{ github.ref_name }} \
96+
gh release create $GH_REF_NAME \
9097
--generate-notes \
9198
upload/*

0 commit comments

Comments
 (0)