From 88842c8f86e704829ef159e74c491fdc47e4e31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20W=C3=A4llstedt=20=28foreseeti=29?= <48990854+maxwalls@users.noreply.github.com> Date: Fri, 13 Aug 2021 14:00:46 +0200 Subject: [PATCH] Fix release-on-push action (#11) --- .github/workflows/release-on-push.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-on-push.yml b/.github/workflows/release-on-push.yml index 6516d89..bc9df73 100644 --- a/.github/workflows/release-on-push.yml +++ b/.github/workflows/release-on-push.yml @@ -44,9 +44,15 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create tag 'latest' - uses: rickstaa/action-create-tag@v1 + uses: actions/github-script@v4 with: - tag: latest + script: | + github.git.createRef({ + owner: context.repo.owner, + repo: context.repo.repo, + ref: "refs/tags/latest", + sha: context.sha, + }); - name: Create release 'latest' uses: softprops/action-gh-release@v1