diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1ca800f9ed263cf382f1d4de25863c130ef7660..c9087ba3edc14830e55b88720ac77829d6d84e69 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 }}