-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
27cc08f
commit ab22c67
Showing
1 changed file
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ on: | |
tags: | ||
- v | ||
pull_request: | ||
env: | ||
GO_VERSION: 1.16 | ||
NODE_VERSION: "16.x" | ||
|
||
jobs: | ||
build-axolotl: | ||
|
@@ -17,7 +20,7 @@ jobs: | |
- name: Setup Go 1.16 | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
@@ -46,7 +49,7 @@ jobs: | |
- name: Setup Node 16 | ||
uses: actions/[email protected] | ||
with: | ||
node-version: "16.x" | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
@@ -319,7 +322,7 @@ jobs: | |
- name: Set up Go 1.16 | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- name: Set up cross-compiling environment | ||
run: | | ||
|
@@ -350,7 +353,7 @@ jobs: | |
- name: Set up Node 16 | ||
uses: actions/[email protected] | ||
with: | ||
node-version: "16.x" | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
@@ -505,14 +508,9 @@ jobs: | |
run: | | ||
echo "VERSION=${{ steps.get_version.outputs.version }}" >> $GITHUB_ENV | ||
- name: Get git tag version Debian arm64 # might be redundant | ||
- name: Set package version Debian arm64 | ||
run: | | ||
git fetch --all --tags | ||
echo "TAG=$(git tag | tail --lines=1)" >> $GITHUB_ENV | ||
- name: Set package version Debian arm64 # might be redundant | ||
run: | | ||
echo "RELEASE_VERSION=$(echo ${{ env.TAG }} | sed 's/v//')" >> $GITHUB_ENV | ||
echo "RELEASE_VERSION=$(echo ${{ env.VERSION }} | sed 's/v//')" >> $GITHUB_ENV | ||
- name: Download build artifacts | ||
uses: actions/download-artifact@v2 | ||
|