mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-24 16:14:26 +08:00
parent
2b75efca9d
commit
b56368e403
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -23,11 +23,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: 📥 Checkout git repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: ☕ Setup JDK
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '17'
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
sleep 1
|
||||
done
|
||||
- name: 💼 Load Gradle Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
|
4
.github/workflows/on-release.yml
vendored
4
.github/workflows/on-release.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v2.3.1
|
||||
uses: actions/checkout@v3
|
||||
- name: Get Download URL
|
||||
run: |
|
||||
curl 'https://api.github.com/repos/plan-player-analytics/plan/releases/${{ github.event.release.id }}/assets' | jq -r '.[] | {name: .name, url: .browser_download_url} | select(.url | strings | test("Fabric") | not)' > asset.txt
|
||||
@ -42,7 +42,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v2.3.1
|
||||
uses: actions/checkout@v3
|
||||
- name: Get git TAG
|
||||
id: tagName
|
||||
uses: olegtarasov/get-tag@v2.1
|
||||
|
Loading…
Reference in New Issue
Block a user