Skip to content

Commit

Permalink
mirror at 20210507195143
Browse files Browse the repository at this point in the history
  • Loading branch information
acoshift committed May 7, 2021
1 parent 565e003 commit 53c02d9
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,24 @@ on:
branches:
- master
jobs:
deploy:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: "^1.16"
- run: go build -o deploys .
- uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v2
with:
name: deploys
path: deploys
path: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 53c02d9

Please sign in to comment.