-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from envato/github-actions-release
CI: create GitHub Actions workflow that automatically builds binaries for new git tags
- Loading branch information
Showing
9 changed files
with
55 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
|
||
permissions: | ||
contents: write | ||
packages: write | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
check-latest: true | ||
- uses: goreleaser/goreleaser-action@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/build/ | ||
/dist/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
version: 1 | ||
builds: | ||
- main: ./cmd/ejsonkms | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- darwin | ||
- linux | ||
- windows | ||
archives: | ||
- format: tar.gz | ||
format_overrides: | ||
- goos: windows | ||
format: zip |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.2.0 | ||
0.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
module github.com/envato/ejsonkms | ||
|
||
go 1.12 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/Shopify/ejson v1.2.1 | ||
github.com/Shopify/ejson2env v2.0.0+incompatible | ||
github.com/aws/aws-sdk-go v1.34.0 | ||
github.com/dustin/gojson v0.0.0-20130803055424-057ac0edc14e // indirect | ||
github.com/kami-zh/go-capturer v0.0.0-20171211120116-e492ea43421d | ||
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337 | ||
github.com/taskcluster/shell v0.0.0-20161108133149-4039a2cd6f88 // indirect | ||
github.com/urfave/cli v1.20.0 | ||
) | ||
|
||
require ( | ||
github.com/dustin/gojson v0.0.0-20130803055424-057ac0edc14e // indirect | ||
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 // indirect | ||
github.com/jmespath/go-jmespath v0.3.0 // indirect | ||
github.com/jtolds/gls v4.20.0+incompatible // indirect | ||
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d // indirect | ||
github.com/taskcluster/shell v0.0.0-20161108133149-4039a2cd6f88 // indirect | ||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 // indirect | ||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters