Update actions version

master 20250512
Dreamacro 2025-05-10 01:05:49 +08:00
parent f7c8536ef6
commit 4d5c0802e0
1 changed files with 4 additions and 4 deletions

View File

@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repo - name: Check out repo
uses: actions/checkout@v2 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: git tag - name: git tag
uses: actions/github-script@v3 uses: actions/github-script@v7
id: tag id: tag
with: with:
script: | script: |
@ -42,7 +42,7 @@ jobs:
mv ./GeoLite2-Country_*/GeoLite2-Country.mmdb ./dist/Country.mmdb mv ./GeoLite2-Country_*/GeoLite2-Country.mmdb ./dist/Country.mmdb
- name: Upload Release - name: Upload Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v2
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -50,7 +50,7 @@ jobs:
tag_name: ${{steps.tag.outputs.result}} tag_name: ${{steps.tag.outputs.result}}
- name: Upload to release branch - name: Upload to release branch
uses: crazy-max/ghaction-github-pages@v2 uses: crazy-max/ghaction-github-pages@v4
with: with:
target_branch: release target_branch: release
build_dir: dist build_dir: dist