Skip to content

Commit

Permalink
upload-artifact@v4 doesn't like percents
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Dec 15, 2023
1 parent 4293cd2 commit 4698cf2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion download-build-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ runs:
id: prep
shell: bash

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
id: download
with:
name: ${{ steps.prep.outputs.artifact-name }}
Expand Down
2 changes: 1 addition & 1 deletion lib/actions/platform-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ if (pkg === true) pkg = undefined

const config = await get_config(pkg as string | undefined)

console.log(`${encodeURIComponent(utils.pkg.str(config.pkg))}+${platform}`)
console.log(`${utils.pkg.str(config.pkg).replace('/', '_')}+${platform}`)

This comment has been minimized.

Copy link
@jhheider

jhheider Dec 15, 2023

Contributor
3 changes: 2 additions & 1 deletion upload-build-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ runs:
id: tar
shell: bash

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ${{ steps.tar.outputs.path }}
name: ${{ steps.tar.outputs.name }}
if-no-files-found: error
retention-days: 1

0 comments on commit 4698cf2

Please sign in to comment.