Skip to content

Commit b6d9970

Browse files
authored
feat: Update to new GH artifacts (v4) (#6)
1 parent 133d89f commit b6d9970

File tree

9 files changed

+11174
-12383
lines changed

9 files changed

+11174
-12383
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@ jobs:
3131
run: echo "version=${{ steps.head_version.outputs.match }}" >> $GITHUB_OUTPUT
3232

3333
- name: Update Github Release
34-
uses: getsentry/size-limit-release@main
34+
uses: getsentry/size-limit-release@v2
3535
with:
3636
github_token: ${{ secrets.GITHUB_TOKEN }}
3737
version: ${{ steps.get_version.outputs.version }}
3838
workflow_name: 'build.yml'
3939
```
4040
41-
Note that this will not do anything if it detects that size limit information has already been added to the release.
41+
Note that this will not do anything if it detects that size limit information has already been added to the release.
42+
43+
The v2 tag of this assumes that you upload your size limit data with v4 of the upload-artifacts action.
44+
45+
If you are uploading data with v3 of upload-artifacts, use the v1 tag.

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ inputs:
1818
required: false
1919
description: Optionally, define a branch to fetch size limit info from. Defaults to `release/VERSION`.
2020
runs:
21-
using: "node16"
21+
using: "node20"
2222
main: "dist/index.js"

0 commit comments

Comments
 (0)