Compare commits
2 Commits
Auto-Relea
...
master
Author | SHA1 | Date | |
---|---|---|---|
9ce0894295 | |||
1c459ca6a2 |
@ -9,22 +9,15 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
Build And Releases:
|
Build And Releases:
|
||||||
name: build and releases
|
name: build and releases
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-dev
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: https://git.mingliqiye.com/Actions/checkout@v4
|
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
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
./gradlew
|
gradle
|
||||||
./gradlew build-jar
|
gradle build-jar
|
||||||
|
|
||||||
- name: releases
|
- name: releases
|
||||||
run: |
|
run: |
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
curl -o releases.json https://git.mingliqiye.com/api/v1/repos/Actions/com.mingliqiye.gitea.releases/releases
|
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;
|
import json;
|
||||||
with open('releases.json') as f:
|
with open('releases.json') as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
print(data[0]['assets'][0]['name'])
|
print(data[0]['assets'][0]['name'])
|
||||||
")
|
")
|
||||||
|
|
||||||
DOWNLOADURL=$(python -c "
|
DOWNLOADURL=$(python3 -c "
|
||||||
import json;
|
import json;
|
||||||
with open('releases.json') as f:
|
with open('releases.json') as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user