From 75d8461471a0a6c3e3177c038344e4ca7be3c204 Mon Sep 17 00:00:00 2001 From: Ynng <44907675+Ynng@users.noreply.github.com> Date: Wed, 9 Oct 2024 00:41:48 -0400 Subject: [PATCH] fixed publish.yml --- .github/workflows/publish.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8401ccd..e102169 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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]"