Skip to content

Commit

Permalink
fixed publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ynng committed Oct 9, 2024
1 parent 1407369 commit 75d8461
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- uses: robinraju/release-downloader@v1
with:
tag: ${{ inputs.tag }}
fileName: 'latest.json'
tarBall: false
zipBall: false
out-file-path: "downloaded-release"
- name: Download latest.json
run: |
gh release download ${{ inputs.tag }} --pattern "latest.json" --clobber
- name: Get version
id: version
Expand All @@ -42,7 +38,6 @@ jobs:
- name: Update latest.json
run: |
mv downloaded-release/latest.json latest.json
git add latest.json
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
Expand Down

0 comments on commit 75d8461

Please sign in to comment.