diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 64e9064..dfb63a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,12 +11,13 @@ permissions: contents: write jobs: - build: - name: Build + + build: + name: Test runs-on: ubuntu-22.04 strategy: matrix: - python-version: [ '3.12.2' ] + python-version: [ '3.11' ] steps: - uses: actions/checkout@v4 @@ -28,22 +29,4 @@ jobs: env: CI: true 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 +