更新 actions 依赖

This commit is contained in:
lyswhut 2024-04-14 16:50:43 +08:00
parent 1774b1082d
commit 8256976968

View File

@ -29,7 +29,7 @@ jobs:
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
- name: Create git tag - name: Create git tag
uses: pkgdeps/git-tag-action@v2 uses: pkgdeps/git-tag-action@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
github_repo: ${{ github.repository }} github_repo: ${{ github.repository }}
@ -74,7 +74,7 @@ jobs:
echo "COMMIT_SHA=$(git show -s --format=%H)" >> $GITHUB_ENV echo "COMMIT_SHA=$(git show -s --format=%H)" >> $GITHUB_ENV
- name: Create git tag - name: Create git tag
uses: pkgdeps/git-tag-action@v2 uses: pkgdeps/git-tag-action@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
github_repo: ${{ github.repository }} github_repo: ${{ github.repository }}
@ -121,7 +121,7 @@ jobs:
# echo "COMMIT_SHA=$(git show -s --format=%H)" >> $GITHUB_ENV # echo "COMMIT_SHA=$(git show -s --format=%H)" >> $GITHUB_ENV
# - name: Create git tag # - name: Create git tag
# uses: pkgdeps/git-tag-action@v2 # uses: pkgdeps/git-tag-action@v3
# with: # with:
# github_token: ${{ secrets.GITHUB_TOKEN }} # github_token: ${{ secrets.GITHUB_TOKEN }}
# github_repo: ${{ github.repository }} # github_repo: ${{ github.repository }}
@ -166,7 +166,7 @@ jobs:
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
- name: Release - name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v2
with: with:
body_path: ./publish/changeLog.md body_path: ./publish/changeLog.md
prerelease: false prerelease: false