updating build.yaml
This commit is contained in:
parent
702d93b9da
commit
c030fc69a2
@ -1,10 +1,10 @@
|
||||
name: Build Inex Executable
|
||||
run-name: Deploy to ${{ inputs.deploy_target }} by @${{ gitea.actor }}
|
||||
on: [push]
|
||||
name: Build
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-22.04
|
||||
build-linux-binary:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
@ -15,7 +15,13 @@ jobs:
|
||||
- run: apt-get install unixodbc -y
|
||||
- run: pip install -r requirements.txt
|
||||
- run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: softprops/action-gh-release@v2
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
name: Inex
|
||||
path: ${{ gitea.workspace }}/dist/inex
|
||||
files: ${{ gitea.workspace }}/dist/inex
|
||||
build-windows-binary:
|
||||
runs-on: windows
|
||||
steps:
|
||||
|
Loading…
x
Reference in New Issue
Block a user