Skip to content

Commit

Permalink
fix: 修改github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sengimu committed Dec 1, 2024
1 parent 6c99a84 commit 0693207
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ jobs:
- name: Create dist.zip
run: zip -r dist.zip dist/

- name: Print PAT token (for debugging, only in private environment)
run: echo "${{ secrets.PAT }}"

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -50,7 +47,7 @@ jobs:
body: "Release created from commit ${{ github.sha }}"
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload dist to Release
uses: actions/upload-release-asset@v1
Expand All @@ -59,3 +56,5 @@ jobs:
asset_path: ./dist.zip
asset_name: dist.zip
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0693207

Please sign in to comment.