using ld compiler

This commit is contained in:
Mzack9999 2020-07-13 19:37:51 +02:00
parent 3d9600a8f8
commit 2534ab3ed0

View File

@ -6,20 +6,23 @@ on:
jobs: jobs:
release: release:
name: Release on GitHub
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out code -
uses: actions/checkout@v1 name: "Check out code"
uses: actions/checkout@v2
- name: Validates GO releaser config
uses: docker://goreleaser/goreleaser:latest
with: with:
args: check fetch-depth: 0
-
- name: Create release on GitHub name: "Set up Go"
uses: docker://goreleaser/goreleaser:latest uses: actions/setup-go@v2
with: with:
args: release go-version: 1.14
-
env: env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
name: "Create release on GitHub"
uses: goreleaser/goreleaser-action@v2
with:
args: "release --rm-dist"
version: latest