mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-03-28 14:57:02 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
branches: main
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@ -13,14 +11,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- id: tag
|
- id: tag
|
||||||
|
uses: freckle/haskell-tag-action@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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: steps.tag.outputs.tag }}
|
||||||
- if: ${{ startsWith(github.ref, 'refs/tags/') || steps.tag.tag }}
|
|
||||||
env:
|
|
||||||
HACKAGE_API_KEY: ${{ secrets.HACKAGE_UPLOAD_API_KEY }}
|
|
||||||
uses: freckle/stack-upload-action@main
|
uses: freckle/stack-upload-action@main
|
||||||
with:
|
with:
|
||||||
pvp-bounds: both
|
pvp-bounds: both
|
||||||
|
env:
|
||||||
|
HACKAGE_API_KEY: ${{ secrets.HACKAGE_UPLOAD_API_KEY }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user