Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

releaser #4

Merged
merged 5 commits into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .github/workflows/pyinstaller_linux.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/pyinstaller_windows.yaml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Release & Upload artifacts

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Package Application (Linux)
uses: JackMcKew/pyinstaller-action-linux@main
with:
path: src
- name: Upload artifact (Linux)
uses: actions/upload-artifact@v2
with:
name: GPX_elevation
path: src/dist/linux
- name: Package Application (Windows)
uses: JackMcKew/pyinstaller-action-windows@main
with:
path: src
- name: Upload artifact (Windows)
uses: actions/upload-artifact@v2
with:
name: GPX_elevation.exe
path: src/dist/windows
- name: Build
run: echo ${{ github.sha }} > Release.txt
- name: Test
run: cat Release.txt
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
Release.txt
LICENSE
src/dist/windows/GPX_elevation.exe
src/dist/linux/GPX_elevation