Skip to content

Commit 9a7959a

Browse files
authored
Pin actions/upload-pages-artifact to v2 (#38)
* fix: upload step * revert `upload-pages-artifact` to v2 * fix: automate release action
1 parent 9951d5d commit 9a7959a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Release
22
on:
33
release:
4-
types: [edited]
4+
types: [released, edited]
55
workflow_dispatch:
66
inputs:
77
TAG_NAME:

action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ runs:
9292
run: $PACKAGE_MANAGER run build
9393

9494
- name: Upload Pages Artifact
95-
uses: actions/upload-pages-artifact@v3
95+
# Must use v2 to avoid requiring `actions/deploy-pages@v4` or newer
96+
uses: actions/upload-pages-artifact@v2
9697
with:
97-
path: "${{ inputs.path }}/dist"
98+
path: "${{ inputs.path }}/dist/"

0 commit comments

Comments
 (0)