Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
2785d64c02 | |||
09214e49b9 | |||
67be40ad0d | |||
8febe20c2a | |||
86ce64c8d1 | |||
0a2cc6f296 | |||
23d8078bcf | |||
0e0785fb67 | |||
4a01816864 | |||
5b464d64cc | |||
ae390bc529 |
@ -2,9 +2,8 @@ name: "test"
|
||||
run-name: "test"
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
- "!v*-beta*"
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@ -21,9 +20,11 @@ jobs:
|
||||
shell: bash
|
||||
env:
|
||||
GO_INSTALL_COMMANDS: github.com/jake-young-dev/kelp@v0.0.9
|
||||
GO_INSTALL_ARCH: amd64
|
||||
GO_INSTALL_PURGE: no
|
||||
run: |
|
||||
chmod +x install.sh
|
||||
./install.sh amd64 no
|
||||
./install.sh
|
||||
|
||||
- name: "check go version"
|
||||
shell: bash
|
||||
|
@ -1,4 +1,5 @@
|
||||
# install-go
|
||||
 <br />
|
||||
An extremely simple github action to install golang and golang commands (using "go install") on linux hosts. This provides the ability to install and setup golang without node/typescript which is required when using [actions/setup-go](https://github.com/actions/setup-go).
|
||||
|
||||
|
||||
@ -9,7 +10,7 @@ Use a tagged release to avoid unexpected changes that may come to the master bra
|
||||
uses: https://code.jakeyoungdev.com/actions/install-go@master
|
||||
with:
|
||||
commands: |
|
||||
github.com/jake-young-dev/kelp@v0.0.9
|
||||
code.jakeyoungdev.com/jake/mctl@v0.3.3
|
||||
```
|
||||
|
||||
#### Go verions
|
||||
|
@ -3,7 +3,7 @@ description: "simple and fast install for golang and golang commands on linux wo
|
||||
inputs:
|
||||
arch:
|
||||
description: "Optional, the linux architecture to use when downloading Go files (default: amd64)"
|
||||
required: false
|
||||
required: true
|
||||
default: "amd64"
|
||||
purge:
|
||||
description: "Optional, deletes any previously installed go versions (yes|no)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user