Skip to content

Commit

Permalink
Add GitHub Actions workflow for building and releasing executable
Browse files Browse the repository at this point in the history
  • Loading branch information
JHM69 committed Dec 13, 2024
1 parent 5fd7fdd commit 2ff675a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows → .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8' # Specify your Python version
python-version: '3.8'

- name: Install dependencies
run: |
Expand All @@ -32,14 +32,14 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: executable
path: dist/main # Change 'main' to your executable name
path: dist/main

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: v1.0.0 # Change this to your desired versioning scheme
release_name: Release v1.0.0 # Change this to your desired release name
tag_name: v1.0.0
release_name: Release v1.0.0
draft: false
prerelease: false
env:
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Upload to Release
uses: softprops/action-gh-release@v1
with:
tag_name: v1.0.0 # Ensure this matches the tag name used in the previous step
files: dist/main # Change 'main' to your executable name
tag_name: v1.0.0
files: dist/main
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 2ff675a

Please sign in to comment.