Merge pull request #54 from siemens/develop #18
Workflow file for this run
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
name: Build and release Industrial Edge app artefact | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: Package Edgeshark IE app | |
run: | | |
go run github.com/thediveo/tiap/cmd/[email protected] \ | |
deployments/industrial-edge/app \ | |
--out edgeshark.app \ | |
--app-version ${{github.ref_name}} | |
zip edgeshark.zip edgeshark.app LICENSE | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
edgeshark.zip | |
LICENSE |