Skip to content

Commit

Permalink
Disable GH actions for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
brannondorsey committed Feb 5, 2020
1 parent bd85837 commit 1cbab61
Showing 1 changed file with 49 additions and 44 deletions.
93 changes: 49 additions & 44 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -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:[email protected]/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:[email protected]/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'

0 comments on commit 1cbab61

Please sign in to comment.