Skip to content

Build artefact for release #4

Build artefact for release

Build artefact for release #4

Workflow file for this run

name: Build artefact for release
on:
release:
types: [ published ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: 'know-host-placeholder'
- name: Adding Known Hosts
run: ssh-keyscan -H github.com >> ~/.ssh/known_hosts
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install git zip unzip curl jq -y
- name: Set run permissions
run: sudo chmod +x ./build.sh
- name: Run build script
run: |
export TERM=xterm
./build.sh
ls -l
- name: Upload artifact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./pkg_quantummanager.zip