From 8316f81e4116425b491aa4eeee6afeb7d50b39f5 Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Sun, 8 Sep 2024 23:03:58 +0800 Subject: [PATCH] ci: update beta tag to newest commit --- .github/workflows/beta_release.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/beta_release.yml b/.github/workflows/beta_release.yml index dc25928aa15..16e03eb2020 100644 --- a/.github/workflows/beta_release.yml +++ b/.github/workflows/beta_release.yml @@ -22,14 +22,19 @@ jobs: with: fetch-depth: 0 + - name: Create or update ref + id: create-or-update-ref + uses: ovsds/create-or-update-ref-action@v1 + with: + ref: tags/beta + sha: ${{ github.sha }} + - name: changelog # or changelogithub@0.12 if ensure the stable result id: changelog run: | git tag -l npx changelogithub --output CHANGELOG.md # npx changelogen@latest --output CHANGELOG.md - - - name: Upload assets uses: softprops/action-gh-release@v2 with: @@ -97,4 +102,5 @@ jobs: with: name: release_beta.yml owner: alist-org - repo: desktop-release \ No newline at end of file + repo: desktop-release + github-token: ${{ secrets.MY_TOKEN }} \ No newline at end of file