Skip to content

Commit

Permalink
Merge pull request #34 from AREA44/improve-actions
Browse files Browse the repository at this point in the history
Fixed actions fails after update actions/deploy-pages to v4
  • Loading branch information
Princesseuh committed Jan 3, 2024
2 parents f122c02 + 36ad741 commit 8529b4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install, build, and upload your site output
uses: withastro/action@v1
# with:
Expand All @@ -59,5 +59,5 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v3
```
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ runs:
bun-version: ${{ env.VERSION }}

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
if: ${{ env.PACKAGE_MANAGER != 'bun' }}
with:
node-version: ${{ inputs.node-version }}
cache: ${{ env.PACKAGE_MANAGER }}
cache-dependency-path: "${{ inputs.path }}/${{ env.LOCKFILE }}"

- name: Setup Node (Bun)
uses: actions/setup-node@v3
uses: actions/setup-node@v4
if: ${{ env.PACKAGE_MANAGER == 'bun' }}
with:
node-version: ${{ inputs.node-version }}
Expand All @@ -93,6 +93,6 @@ runs:
$PACKAGE_MANAGER run build
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: "${{ inputs.path }}/dist/"

0 comments on commit 8529b4c

Please sign in to comment.