测试环境
This commit is contained in:
parent
a162f269d4
commit
a77e05a088
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user