Skip to content

Commit

Permalink
Update go_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iceberg63 authored Jan 6, 2021
1 parent 8559d4e commit ecf2a07
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,25 @@ on:
jobs:

build:
name: Setup - Build - Test
name: Setup - Build - Package
runs-on: ubuntu-latest
container: ubuntu:18.04
container: golang:1.16beta1
steps:

- name: Set up Go 1.16beta
- name: go version
run: |
apt-get update && apt-get install -y wget
wget https://golang.org/dl/go1.16beta1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.16beta1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Go Version
run: |
export PATH=$PATH:/usr/local/go/bin
go version

- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Build Release Version
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
export PATH=$PATH:/usr/local/go/bin
./build_package.sh $RELEASE_VERSION
ls
Expand Down

0 comments on commit ecf2a07

Please sign in to comment.