Skip to content

Commit 37955ed

Browse files
committed
Fix the value of GH_REPO
See https://github.com/xsnippet/xsnippet-api/actions/runs/8339394829/job/22821304489. Apparentely, `repository.name` does not include the owner name (contrary to what https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables suggests...).
1 parent 706d569 commit 37955ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
fi
3636
env:
3737
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
GH_REPO: ${{ github.event.repository.name }}
38+
GH_REPO: ${{ env.GITHUB_REPOSITORY }}
3939

4040
build_assets:
4141
needs: create_release
@@ -81,5 +81,5 @@ jobs:
8181
popd
8282
env:
8383
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84-
GH_REPO: ${{ github.event.repository.name }}
84+
GH_REPO: ${{ env.GITHUB_REPOSITORY }}
8585
RELEASE_TAG: ${{ needs.create_release.outputs.release_tag }}

0 commit comments

Comments
 (0)