From fbc343e8f3742fdbb933825b308ef461d17fc7df Mon Sep 17 00:00:00 2001 From: Daniel Wood Date: Sun, 3 May 2020 12:45:39 -0700 Subject: [PATCH] Create release.yaml --- .github/workflows/release.yaml | 89 ++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..42c3833 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,89 @@ +# .github/workflows/release.yaml + +on: release +name: Build Release +jobs: + release-linux-386: + name: release linux/386 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: compile and release + uses: danielewood/go-release.action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOARCH: "386" + GOOS: linux + EXTRA_FILES: "LICENSE" + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: compile and release + uses: danielewood/go-release.action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOARCH: amd64 + GOOS: linux + EXTRA_FILES: "LICENSE" + release-linux-arm: + name: release linux/386 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: compile and release + uses: danielewood/go-release.action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOARCH: "arm" + GOOS: linux + EXTRA_FILES: "LICENSE" + release-linux-arm64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: compile and release + uses: danielewood/go-release.action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOARCH: arm64 + GOOS: linux + EXTRA_FILES: "LICENSE" + release-darwin-amd64: + name: release darwin/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: compile and release + uses: danielewood/go-release.action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOARCH: amd64 + GOOS: darwin + EXTRA_FILES: "LICENSE" + release-windows-386: + name: release windows/386 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: compile and release + uses: danielewood/go-release.action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOARCH: "386" + GOOS: windows + EXTRA_FILES: "LICENSE" + release-windows-amd64: + name: release windows/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: compile and release + uses: danielewood/go-release.action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GOARCH: amd64 + GOOS: windows + EXTRA_FILES: "LICENSE"