Skip to content

Commit

Permalink
Fix release-on-push action (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwalls authored Aug 13, 2021
1 parent 4cd69da commit 88842c8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 88842c8

Please sign in to comment.