Skip to content

Commit

Permalink
добавил action
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriitux committed Jun 21, 2024
1 parent 08a9ecd commit ffc4aa3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/artefact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build artefact for release

on:
release:
types: [ published ]

jobs:
build:
runs-on: ubuntu-latest

steps:

- 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

0 comments on commit ffc4aa3

Please sign in to comment.