This commit is contained in:
parent
83d808bc6b
commit
9dae009ee6
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
@ -11,12 +11,13 @@ permissions:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
|
||||||
name: Build
|
build:
|
||||||
|
name: Test
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ '3.12.2' ]
|
python-version: [ '3.11' ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -28,22 +29,4 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool
|
AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool
|
||||||
# - name: Install dependencies
|
|
||||||
# run: |
|
|
||||||
# python -m pip install --upgrade pip
|
|
||||||
# pip install -r requirements.txt
|
|
||||||
# - name: get pyinstaller
|
|
||||||
# run: |
|
|
||||||
# pip install pyinstaller
|
|
||||||
# - name: build
|
|
||||||
# run: |
|
|
||||||
# pyinstaller --onefile main.py
|
|
||||||
# - name: publish to release
|
|
||||||
# uses: softprops/action-gh-release@v1
|
|
||||||
# with:
|
|
||||||
# files: dist/main
|
|
||||||
# tag_name: ${{ github.sha }}
|
|
||||||
# release_name: ${{ github.sha }}
|
|
||||||
# body: ${{ github.sha }}
|
|
||||||
# draft: false
|
|
||||||
# prerelease: false
|
|
||||||
|
Loading…
Reference in New Issue
Block a user