Skip to content

Commit

Permalink
Fix wrong variable used for getting repository name on asset variable
Browse files Browse the repository at this point in the history
  • Loading branch information
catuhana committed Nov 29, 2023
1 parent 032c3a4 commit 15d2aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const asset = await (await import("node:fs")).readFile(`target/release/${github.repository.name}${{ runner.os == 'Windows' && '.exe' || '' }}`);
const asset = await (await import("node:fs")).readFile(`target/release/${context.repo.repo}${{ runner.os == 'Windows' && '.exe' || '' }}`);
await github.rest.repos.uploadReleaseAsset({
owner: context.repo.owner,
Expand Down

0 comments on commit 15d2aa8

Please sign in to comment.