chore: enhance workflow (#271)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-03-30 23:48:02 +02:00
committed by GitHub
parent d8a076a057
commit b458824747
13 changed files with 149 additions and 119 deletions
+7 -1
View File
@@ -44,12 +44,14 @@ jobs:
with:
version: ${{ matrix.version }}
args: check --debug
workdir: ./test
-
name: GoReleaser
uses: ./
with:
version: ${{ matrix.version }}
args: release --skip-publish --rm-dist
workdir: ./test
install-only:
runs-on: ubuntu-latest
@@ -115,6 +117,7 @@ jobs:
with:
version: latest
args: -f .goreleaser-signing.yml check --debug
workdir: ./test
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
-
@@ -123,6 +126,7 @@ jobs:
with:
version: latest
args: -f .goreleaser-signing.yml release --skip-publish --rm-dist
workdir: ./test
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
@@ -144,14 +148,16 @@ jobs:
uses: ./
with:
args: check --debug
workdir: ./test
-
name: GoReleaser
uses: ./
with:
args: release --skip-publish --rm-dist
workdir: ./test
-
name: Upload assets
uses: actions/upload-artifact@v2
with:
name: myapp
path: dist/*
path: ./test/dist/*