Skip to content

Commit 541fc30

Browse files
Fix GitHub Action failing 'Publish the released PHAR' due to deprecated action 'actions/upload-artifact' (#347)
1 parent 6d5bcd9 commit 541fc30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-phar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
2323
GITHUB_REF=${{ github.event.inputs.tag }}
24-
fi
24+
fi
2525
echo "tag=${GITHUB_REF##*v}" >> "$GITHUB_OUTPUT"
2626
2727
- name: Checkout the code
@@ -45,7 +45,7 @@ jobs:
4545
run: ./pint app:build pint.phar --build-version=${{ steps.tag.outputs.tag }}
4646

4747
- name: Upload the PHAR artifact
48-
uses: actions/upload-artifact@v3
48+
uses: actions/upload-artifact@v4
4949
with:
5050
name: pint.phar
5151
path: builds/pint.phar

0 commit comments

Comments
 (0)