From a622253b558ee45d92fca7cab3eff82f6e6f8b44 Mon Sep 17 00:00:00 2001 From: jblu Date: Tue, 30 Jul 2024 13:13:16 -0500 Subject: [PATCH 1/2] updated build --- .gitea/workflows/build.yaml | 39 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ce6b73d..b2dc25f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,29 +3,28 @@ 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 - - uses: softprops/action-gh-release@v2 - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(gitea.ref, 'refs/tags/') - with: - files: ${{ gitea.workspace }}/dist/inex + # 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 + # - name: Release + # uses: softprops/action-gh-release@v2 + # if: startsWith(gitea.ref, 'refs/tags/') + # with: + # files: ${{ gitea.workspace }}/dist/inex build-windows-binary: runs-on: windows permissions: contents: write # release changes require contents write - steps: - uses: actions/checkout@v4 - name: Upload Release Asset @@ -33,5 +32,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} run: pip install -r requirements.txt run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py - run: gh release upload + # run: gh release upload \ No newline at end of file -- 2.45.2 From b2ce0f26a8da4d6bd3b4045cb982f7f64d326894 Mon Sep 17 00:00:00 2001 From: jblu Date: Tue, 30 Jul 2024 13:27:21 -0500 Subject: [PATCH 2/2] updaged build yaml --- .gitea/workflows/build.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b2dc25f..78db222 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,5 +1,4 @@ name: Build - on: push jobs: -- 2.45.2