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 f74ab02 commit f2379bf
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Test Ubuntu
name: Test Go Beta

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
tags: '[0-9]+.[0-9]+.[0-9]+'

jobs:

Expand All @@ -29,3 +27,23 @@ jobs:
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
- uses: actions/upload-artifact@v2
with:
name: kitura-cli_${{ env.RELEASE_VERSION }}
path: |
kitura-cli_${{ env.RELEASE_VERSION }}_*_linux.tar.gz
kitura-cli_${{ env.RELEASE_VERSION }}_*.deb
kitura-cli_${{ env.RELEASE_VERSION }}_darwin.tar.gz
kitura.rb

0 comments on commit f2379bf

Please sign in to comment.