mirror of
https://github.com/digarok/Appy.git
synced 2024-05-28 11:41:29 +00:00
different release action
This commit is contained in:
parent
a0c430b438
commit
05b14913ab
41
.github/workflows/publish_release.yml
vendored
41
.github/workflows/publish_release.yml
vendored
|
@ -1,30 +1,25 @@
|
||||||
name: goreleaser
|
name: Publish Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
push:
|
push:
|
||||||
|
# tags:
|
||||||
|
# - 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
goreleaser:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Checkout
|
||||||
name: Checkout
|
uses: actions/checkout@v2
|
||||||
uses: actions/checkout@v2
|
with:
|
||||||
with:
|
fetch-depth: 0
|
||||||
fetch-depth: 0
|
- name: Set up Go
|
||||||
-
|
uses: actions/setup-go@v2
|
||||||
name: Set up Go
|
with:
|
||||||
uses: actions/setup-go@v2
|
go-version: 1.17.5
|
||||||
with:
|
- name: Create a Release
|
||||||
go-version: 1.17.5
|
uses: elgohr/Github-Release-Action@master
|
||||||
-
|
env:
|
||||||
name: Run GoReleaser
|
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
uses: goreleaser/goreleaser-action@v2
|
with:
|
||||||
with:
|
args: MyReleaseMessage
|
||||||
# either 'goreleaser' (default) or 'goreleaser-pro'
|
|
||||||
distribution: goreleaser
|
|
||||||
version: latest
|
|
||||||
args: release --rm-dist
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user