Skip to content

Commit

Permalink
upgrade to Artifacts Actions v4 https://github.blog/changelog/2024-12…
Browse files Browse the repository at this point in the history
  • Loading branch information
ldm0206 committed Dec 6, 2024
1 parent 649273d commit 70d773d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,7 @@ jobs:
with:
name: bundle
path: dist/bundle*.js

# - name: comment PR 📝
# uses: thollander/actions-comment-pull-request@v3
# if: ${{github.event_name == 'pull_request'}}
# with:
# message: |
# 我们已经收到您的PR,您可以在这里访问对应的脚本文件。
# ${{ steps.upload-artifacts.outputs.artifact-url }}


- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
if: ${{ github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: node --import tsx ./test/sites.ts

- name: Upload Artifact 🚀
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sites.csv
path: dist/csv/sites.csv

0 comments on commit 70d773d

Please sign in to comment.