Skip to content

Commit

Permalink
Update workflows.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nuehm-arno authored Feb 12, 2022
1 parent 27cc08f commit ab22c67
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
tags:
- v
pull_request:
env:
GO_VERSION: 1.16
NODE_VERSION: "16.x"

jobs:
build-axolotl:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ab22c67

Please sign in to comment.