From 1cbab617df35b4e032f2fe2568dbcf92e7d8d67a Mon Sep 17 00:00:00 2001 From: Brannon Dorsey Date: Tue, 4 Feb 2020 22:08:27 -0500 Subject: [PATCH] Disable GH actions for now. --- .github/workflows/go.yml | 93 +++++++++++++++++++++------------------- 1 file changed, 49 insertions(+), 44 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4747020..a2b159b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,44 +1,49 @@ -name: Go -on: - release: - type: - - published -jobs: - - build-and-publish: - name: Build - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.13 - uses: actions/setup-go@v1 - with: - go-version: 1.13 - id: go - - - name: Check out code - run: | - git clone https://brannondorsey:$GITHUB_TOKEN@github.com/brannondorsey/vanity-keygen - echo git remote -v - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Get dependencies - working-directory: ./vanity-keygen - run: | - make deps - - - name: Build for all platforms - working-directory: ./vanity-keygen - run: make build-all - - - name: Snapshot and Release - working-directory: ./vanity-keygen - run: make snapshot - - - name: Upload artifacts - uses: skx/github-action-publish-binaries@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - args: 'vanity-keygen/bin/*.zip vanity-keygen/bin/*.tar.gz' +## Unused, because I was having an issue where the on.release.type.* would trigger three +## concurrent workflows at once. Should be ready to come back and enable if that problem +## get solved / I ever have interest again. Disabling for now. Manual releases can be +## made via git tag. + +# name: Go +# on: +# release: +# type: +# - published +# jobs: + +# build-and-publish: +# name: Build +# runs-on: ubuntu-latest +# steps: + +# - name: Set up Go 1.13 +# uses: actions/setup-go@v1 +# with: +# go-version: 1.13 +# id: go + +# - name: Check out code +# run: | +# git clone https://brannondorsey:$GITHUB_TOKEN@github.com/brannondorsey/vanity-keygen +# echo git remote -v +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +# - name: Get dependencies +# working-directory: ./vanity-keygen +# run: | +# make deps + +# - name: Build for all platforms +# working-directory: ./vanity-keygen +# run: make build-all + +# - name: Snapshot and Release +# working-directory: ./vanity-keygen +# run: make snapshot + +# - name: Upload artifacts +# uses: skx/github-action-publish-binaries@master +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# with: +# args: 'vanity-keygen/bin/*.zip vanity-keygen/bin/*.tar.gz'