From f0a54eabbedd8334162a6512af2eb0847da2af07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas94@gmx.net> Date: Sun, 8 Jan 2023 12:27:42 +0100 Subject: [PATCH] CI: attempt to fix dev release getting stuck in draft state --- .github/workflows/main.yml | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1ca800..c9087ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -164,31 +164,10 @@ jobs: uses: actions/download-artifact@v3 - name: Package run: for i in */; do zip -r "${i%/}.zip" "$i"; done - - name: Advance tag - uses: actions/github-script@v3 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - try { - await github.git.deleteRef({ - owner: context.repo.owner, - repo: context.repo.repo, - ref: "tags/continuous" - }) - } catch (e) {} - await github.git.createRef({ - owner: context.repo.owner, - repo: context.repo.repo, - ref: "refs/tags/continuous", - sha: context.sha - }) - name: Update release - uses: ncipollo/release-action@v1 + uses: eine/tip@master with: - allowUpdates: true - artifacts: "*.zip" - omitBody: true - omitName: true - prerelease: true + files: "*.zip" + rm: true tag: "continuous" - updateOnlyUnreleased: true + token: ${{ secrets.GITHUB_TOKEN }} -- GitLab