Skip to content

Commit

Permalink
started on compiling workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ullmannJan committed Jun 25, 2024
1 parent d18af8e commit b85eb32
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Compile Project

on:
push:
tags:
- "*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install dependencies
run: |
pip install .
pip install pyinstaller
- name: Build plugin
run: |
python ./compiling/compile.py
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF#refs/tags/}"
gh release create "$tag" \
--title="$tag" \
--draft \
Measury-$tag.zip

0 comments on commit b85eb32

Please sign in to comment.