diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index b5812ec..6415300 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -7,7 +7,7 @@ on: - master jobs: - Task: + Build And Releases: name: build and releases runs-on: ubuntu-latest steps: @@ -33,6 +33,11 @@ jobs: VERSIONS=$(echo "$VERSIONS" | tr -d '\r') FILENAME="${GROUPSID}-${VERSIONS}.jar" java -jar build/libs/${FILENAME} -s "${{gitea.server_url}}" -o "${{gitea.repository_owner}}" -r ${{gitea.event.repository.name}} -t "${{gitea.token}}" -ti "Auto releases ${{gitea.sha}} ${VERSIONS}" -b "# Auto releases wtih ${{gitea.event.head_commit.message}} - [${{gitea.sha}}](${{gitea.event.head_commit.url}})" -tn "Auto-Releases-${VERSIONS}-${{gitea.sha}}" -a "build/libs" - - + TestEnv: + runs-on: ubuntu-latest + steps: + - name: TestPython2 + run: | + python -v + python --version 2>&1 | grep -q "Python 2" && echo "Python 2 ready" || echo "Python 2 not found" \ No newline at end of file