mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 21:49:39 +00:00
removed the tag stuff, cause it isn't working as I hoped. (Still learning github actions)
This commit is contained in:
parent
1120fa185a
commit
ad10789e60
13
.github/workflows/package.yml
vendored
13
.github/workflows/package.yml
vendored
@ -25,17 +25,6 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
|
|
||||||
- name: Get Last Tag
|
|
||||||
id: last_tag
|
|
||||||
run: echo "::set-output name=tag::$(git describe --abbrev=0 --tags)"
|
|
||||||
|
|
||||||
- name: Increment Tag
|
|
||||||
id: incremented_tag
|
|
||||||
run: |
|
|
||||||
tag=${{ steps.last_tag.outputs.tag }}
|
|
||||||
incremented_tag=$(python -c "version_parts = tag.split('.'); version_parts[-1] = str(float(version_parts[-1]) + 0.1); print('.'.join(version_parts))")
|
|
||||||
echo "::set-output name=tag::$incremented_tag"
|
|
||||||
|
|
||||||
- name: Build and package
|
- name: Build and package
|
||||||
run: |
|
run: |
|
||||||
pyinstaller --noconfirm --onefile --windowed StartUI.py
|
pyinstaller --noconfirm --onefile --windowed StartUI.py
|
||||||
@ -44,5 +33,5 @@ jobs:
|
|||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.os }}-binary-v${{ steps.incremented_tag.outputs.tag }}
|
name: ${{ matrix.os }}-binary-v1.1
|
||||||
path: dist
|
path: dist
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user