Skip to content

Node, installer, deploy converted to async #332

Node, installer, deploy converted to async

Node, installer, deploy converted to async #332

Workflow file for this run

name: Go
on:
push:
branches: [ '*' ]
tags: [ 'v*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Install MinGW-w64
run: sudo apt-get update && sudo apt-get install -y mingw-w64
- name: Extract version
id: version
run: |
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
else
echo "version=dev-${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
fi
- name: Update Version.txt
run: |
sed -i "s/version = .*/version = ${{ steps.version.outputs.version }}/" Framework/Version.txt
sed -i "s/date = .*/date = $(date +'%b %d, %Y')/" Framework/Version.txt
- name: Build
working-directory: ./Apps/node_runner
run: make all
env:
VERSION: ${{ steps.version.outputs.version }}
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: binaries
path: ./Apps/node_runner/build/*
- name: Create Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: ./Apps/node_runner/build/*
generate_release_notes: true