diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index d3c6fc9..a16b040 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -14,12 +14,7 @@ jobs: # - 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: @@ -30,10 +25,9 @@ jobs: with: python-version: '3.12.4' cache: 'pip' # caching pip dependencies - # - name: Upload Release Asset - ## env: - # GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} - run: python -m pip install -r requirements.txt - run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py - # run: gh release upload - - run: dir ${{ gitea.workspace }} \ No newline at end of file + - uses: softprops/action-gh-release@v2 + if: startsWith(gitea.ref, 'refs/tags/') + with: + files: ${{ gitea.workspace }}/dist/inex.exe \ No newline at end of file