Compare commits
No commits in common. "6f6e38fe13a15cab4183d2a05b6ebd353773cfac" and "dbd11e02a04b576dbcb525195c42752469779b69" have entirely different histories.
6f6e38fe13
...
dbd11e02a0
@ -1,29 +1,31 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on: push
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# build-linux-binary:
|
build-linux-binary:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# - uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
# with:
|
with:
|
||||||
# python-version: '3.12.4'
|
python-version: '3.12.4'
|
||||||
# cache: 'pip' # caching pip dependencies
|
cache: 'pip' # caching pip dependencies
|
||||||
# - run: apt-get update
|
- run: apt-get update
|
||||||
# - run: apt-get install unixodbc -y
|
- run: apt-get install unixodbc -y
|
||||||
# - run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
# - run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
|
- run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
|
||||||
# - uses: softprops/action-gh-release@v2
|
- uses: softprops/action-gh-release@v2
|
||||||
# - name: Release
|
- name: Release
|
||||||
# uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
# if: startsWith(gitea.ref, 'refs/tags/')
|
if: startsWith(gitea.ref, 'refs/tags/')
|
||||||
# with:
|
with:
|
||||||
# files: ${{ gitea.workspace }}/dist/inex
|
files: ${{ gitea.workspace }}/dist/inex
|
||||||
build-windows-binary:
|
build-windows-binary:
|
||||||
runs-on: windows
|
runs-on: windows
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # release changes require contents write
|
contents: write # release changes require contents write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Upload Release Asset
|
- name: Upload Release Asset
|
||||||
@ -31,5 +33,5 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
|
run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
|
||||||
# run: gh release upload <release_tag> <a_file>
|
run: gh release upload <release_tag> <a_file>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user