Skip to content

Commit

Permalink
Updates to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sashgorokhov committed Sep 19, 2023
1 parent 08f5bbc commit 5de7bb6
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Python application
name: Test and build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
paths-ignore:
- README.md
- LICENSE
- .gitignore

permissions:
contents: write
Expand All @@ -29,9 +30,11 @@ jobs:
run: |
poetry run pytest -svvv tests/
- name: Build .exe
if: github.ref == 'refs/heads/main'
run: |
poetry run pyinstaller -y -F --clean --log-level INFO mavlog2csv.py
- uses: marvinpinto/action-automatic-releases@latest
if: github.ref == 'refs/heads/main'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: latest
Expand Down

0 comments on commit 5de7bb6

Please sign in to comment.