Compare commits

..

2 Commits

Author SHA1 Message Date
9ce0894295
更新 .gitea/workflows/action.yaml
All checks were successful
Gitea Actions Build / build and releases (push) Successful in 45s
2025-06-26 21:21:38 +08:00
1c459ca6a2
更新 install.sh
Some checks failed
Gitea Actions Build / build and releases (push) Has been cancelled
2025-06-26 21:20:40 +08:00
2 changed files with 5 additions and 12 deletions

View File

@ -9,22 +9,15 @@ on:
jobs:
Build And Releases:
name: build and releases
runs-on: ubuntu-latest
runs-on: ubuntu-dev
steps:
- name: Check out repository code
uses: https://git.mingliqiye.com/Actions/checkout@v4
- name: setup java
uses: https://git.mingliqiye.com/Actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'
- name: build
run: |
./gradlew
./gradlew build-jar
gradle
gradle build-jar
- name: releases
run: |

View File

@ -1,13 +1,13 @@
curl -o releases.json https://git.mingliqiye.com/api/v1/repos/Actions/com.mingliqiye.gitea.releases/releases
FILENAME=$(python -c "
FILENAME=$(python3 -c "
import json;
with open('releases.json') as f:
data = json.load(f)
print(data[0]['assets'][0]['name'])
")
DOWNLOADURL=$(python -c "
DOWNLOADURL=$(python3 -c "
import json;
with open('releases.json') as f:
data = json.load(f)