Compare commits
No commits in common. "master" and "Auto-Releases-1.1-187dd35820ac59b17a1e249887cc4eb7243cc0c2" have entirely different histories.
master
...
Auto-Relea
@ -9,15 +9,22 @@ on:
|
||||
jobs:
|
||||
Build And Releases:
|
||||
name: build and releases
|
||||
runs-on: ubuntu-dev
|
||||
runs-on: ubuntu-latest
|
||||
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: |
|
||||
gradle
|
||||
gradle build-jar
|
||||
./gradlew
|
||||
./gradlew build-jar
|
||||
|
||||
- name: releases
|
||||
run: |
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -o releases.json https://git.mingliqiye.com/api/v1/repos/Actions/com.mingliqiye.gitea.releases/releases
|
||||
|
||||
FILENAME=$(python3 -c "
|
||||
FILENAME=$(python -c "
|
||||
import json;
|
||||
with open('releases.json') as f:
|
||||
data = json.load(f)
|
||||
print(data[0]['assets'][0]['name'])
|
||||
")
|
||||
|
||||
DOWNLOADURL=$(python3 -c "
|
||||
DOWNLOADURL=$(python -c "
|
||||
import json;
|
||||
with open('releases.json') as f:
|
||||
data = json.load(f)
|
||||
|
Loading…
x
Reference in New Issue
Block a user