Skip to content

Commit

Permalink
refactor: Improve formatting of branch preview releases (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed Aug 25, 2021
1 parent 62a2d5d commit 2ab0eec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hydrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
go-version: 1.16
- name: Build with hydrun
run: go run main.go -o golang ./Hydrunfile
- name: Publish branch preview to GitHub releases
if: ${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/v') }}
- name: Publish branch preview release to GitHub releases
if: ${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/v') && !startsWith(github.ref, 'refs/pull') }}
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ github.ref }}
automatic_release_tag: ${{ format(github.ref, 'refs/heads/', '' }}
prerelease: true
files: |
out/*
Expand Down

0 comments on commit 2ab0eec

Please sign in to comment.