From 14997f04cd62507901a56deb2504694533d8599c Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 26 Jun 2025 21:15:02 -0500 Subject: optimize pyinstaller and auto release on tag + add binaries as release assets and fix the pyinstaller action --- .github/workflows/release-on-tag.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release-on-tag.yaml (limited to '.github/workflows/release-on-tag.yaml') diff --git a/.github/workflows/release-on-tag.yaml b/.github/workflows/release-on-tag.yaml new file mode 100644 index 0000000..ef4c91c --- /dev/null +++ b/.github/workflows/release-on-tag.yaml @@ -0,0 +1,23 @@ +name: Create Release + +on: + push: + tags: + - 'v*' # This will trigger the action when you push a tag like v1.0, v1.1, etc. + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Git + run: | + git config user.name "GitHub Actions" + git config user.email "actions@github.com" + + - name: Create Release + uses: softprops/action-gh-release@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided by GitHub Actions -- cgit v1.2.3