mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
Tweak release.yml
This commit is contained in:
parent
f892fa472d
commit
3026e1e70d
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@ -1,10 +1,8 @@
|
||||
name: Release to Hackage
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@ -13,14 +11,13 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- id: tag
|
||||
uses: freckle/haskell-tag-action@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
uses: freckle/haskell-tag-action@v1
|
||||
|
||||
# If we're reacting to a manually pushed tag, or we just created one
|
||||
- if: ${{ startsWith(github.ref, 'refs/tags/') || steps.tag.tag }}
|
||||
env:
|
||||
HACKAGE_API_KEY: ${{ secrets.HACKAGE_UPLOAD_API_KEY }}
|
||||
- if: steps.tag.outputs.tag }}
|
||||
uses: freckle/stack-upload-action@main
|
||||
with:
|
||||
pvp-bounds: both
|
||||
env:
|
||||
HACKAGE_API_KEY: ${{ secrets.HACKAGE_UPLOAD_API_KEY }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user