From f99801fa2be544d106094343c8578a7782d3196a Mon Sep 17 00:00:00 2001 From: Jonathan Branan Date: Tue, 30 Jul 2024 19:47:41 -0500 Subject: [PATCH] #v.0.0.3 test --- .gitea/workflows/build.yaml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a16b040..add556e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -2,18 +2,22 @@ name: Build on: push jobs: - # build-linux-binary: - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - uses: actions/setup-python@v5 - # with: - # python-version: '3.12.4' - # cache: 'pip' # caching pip dependencies - # - run: apt-get update - # - run: apt-get install unixodbc -y - # - run: pip install -r requirements.txt - # - run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py + build-linux-binary: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.12.4' + cache: 'pip' # caching pip dependencies + - run: apt-get update + - run: apt-get install unixodbc -y + - run: pip install -r requirements.txt + - run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py + - uses: softprops/action-gh-release@v2 + if: startsWith(gitea.ref, 'refs/tags/') + with: + files: ${{ gitea.workspace }}/dist/inex build-windows-binary: runs-on: windows