Skip to content

Commit

Permalink
Merge pull request #11 from digitalf0x/fix-ci-allow-manual-build
Browse files Browse the repository at this point in the history
[Fix] ci: Allow manual builds, shorten name
  • Loading branch information
Z4urce authored Mar 29, 2024
2 parents c467e05 + ee0766a commit b5b7702
Showing 1 changed file with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
name: Build with PyInstaller

# From https://github.com/sayyid5416/pyinstaller
name: Build PyInstall
# Based on https://github.com/sayyid5416/pyinstaller

on:
push:
pull_request:
# All branches:
[ push, pull_request, workflow_dispatch ]
# "main" only:
#push:
# branches: [ "main" ]
#pull_request:
# branches: [ "main" ]
#workflow_dispatch:
# branches: [ "main" ]

# Get git tag info via GitHub API due to shallow clone:
# See https://github.com/marketplace/actions/gh-describe
# And https://stackoverflow.com/questions/66349002/get-latest-tag-git-describe-tags-when-repo-is-cloned-with-depth-1
# And https://dev.to/hectorleiva/github-actions-and-creating-a-short-sha-hash-8b7
# See...
# https://github.com/marketplace/actions/gh-describe
# Alongside these resources, not used here:
# https://stackoverflow.com/questions/66349002/get-latest-tag-git-describe-tags-when-repo-is-cloned-with-depth-1
# https://dev.to/hectorleiva/github-actions-and-creating-a-short-sha-hash-8b7

jobs:
pyinstall-windows:
Expand Down

0 comments on commit b5b7702

Please sign in to comment.