mirror of
https://github.com/csd4ni3l/shatterstack.git
synced 2026-01-01 12:33:48 +01:00
Use arcade 3.2.0 instead of development
This commit is contained in:
22
.github/workflows/main.yml
vendored
22
.github/workflows/main.yml
vendored
@@ -17,9 +17,9 @@ jobs:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
architecture: 'x64'
|
||||
cache: 'pip'
|
||||
python-version: "3.11"
|
||||
architecture: "x64"
|
||||
cache: "pip"
|
||||
cache-dependency-path: |
|
||||
**/requirements*.txt
|
||||
|
||||
@@ -32,13 +32,12 @@ jobs:
|
||||
nuitka-version: main
|
||||
script-name: run.py
|
||||
nofollow-import-to: "*tk*,_codecs,encodings,multiprocessing,gi"
|
||||
include-package: arcade.gl.backends
|
||||
disable-plugins: tk-inter,dill-compat,eventlet,gevent,pyqt5,pyqt6,pyside2,pyside6,delvewheel,pywebview,matplotlib,spacy,enum-compat,pbr-compat,gevent,pmw-freezer,transformers,upx,kivy,options-nanny,multiprocessing,gi
|
||||
include-data-dir: assets=assets
|
||||
include-data-files: CREDITS=CREDITS
|
||||
mode: standalone
|
||||
output-file: ShatterStack
|
||||
|
||||
|
||||
- name: Zip Build Output
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -63,32 +62,31 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Download All Zipped Builds
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: downloads
|
||||
|
||||
|
||||
- name: Delete Old Release (if exists)
|
||||
continue-on-error: true
|
||||
run: gh release delete latest -y
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
- name: Delete Git tag (if exists)
|
||||
continue-on-error: true
|
||||
run: |
|
||||
git push origin :refs/tags/latest
|
||||
git tag -d latest
|
||||
|
||||
|
||||
- name: Recreate Git tag at HEAD
|
||||
run: |
|
||||
git tag latest
|
||||
git push origin latest
|
||||
|
||||
|
||||
- name: Create the new release
|
||||
run: gh release create latest downloads/**/ShatterStack-*.zip --title "Latest Build" --notes "Most recent multi-platform builds of ShatterStack"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user