mirror of
https://github.com/muesli/mastotool
synced 2025-06-05 22:09:22 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
8404cea804 | |||
562038db56 |
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -5,7 +5,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [1.13.x, 1.14.x, 1.15.x]
|
go-version: [~1.13, ^1]
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
|
@ -5,6 +5,8 @@ before:
|
|||||||
- go mod download
|
- go mod download
|
||||||
builds:
|
builds:
|
||||||
- id: "mastotool"
|
- id: "mastotool"
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
binary: mastotool
|
binary: mastotool
|
||||||
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
|
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
|
||||||
goos:
|
goos:
|
||||||
|
Reference in New Issue
Block a user