Skip to content

Commit 4698cf2

Browse files
committed
upload-artifact@v4 doesn't like percents
1 parent 4293cd2 commit 4698cf2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

download-build-artifact/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ runs:
6363
id: prep
6464
shell: bash
6565

66-
- uses: actions/download-artifact@v3
66+
- uses: actions/download-artifact@v4
6767
id: download
6868
with:
6969
name: ${{ steps.prep.outputs.artifact-name }}

lib/actions/platform-key.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ if (pkg === true) pkg = undefined
1818

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

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

upload-build-artifact/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ runs:
4040
id: tar
4141
shell: bash
4242

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

0 commit comments

Comments
 (0)