mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-01-31 12:31:40 +01:00
chore: fix release code (#470)
This commit is contained in:
parent
a18c110cf3
commit
906c731ea2
12
.github/workflows/release-please.yml
vendored
12
.github/workflows/release-please.yml
vendored
@ -39,15 +39,15 @@ jobs:
|
|||||||
path: ~/.gradle/caches
|
path: ~/.gradle/caches
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||||
restore-keys: ${{ runner.os }}-gradle
|
restore-keys: ${{ runner.os }}-gradle
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 16
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: zulu
|
distribution: zulu
|
||||||
java-version: 17
|
java-version: 16
|
||||||
- name: Download MC assets
|
# - name: Download MC assets
|
||||||
run: ./gradlew downloadAssets || ./gradlew downloadAssets || (sleep 30s && ./gradlew downloadAssets)
|
# run: ./gradlew downloadAssets || ./gradlew downloadAssets || (sleep 30s && ./gradlew downloadAssets)
|
||||||
- name: Run DataGen
|
# - name: Run DataGen
|
||||||
run: ./gradlew runData
|
# run: ./gradlew runData
|
||||||
- name: Build and publish (release)
|
- name: Build and publish (release)
|
||||||
env:
|
env:
|
||||||
CURSE_API: ${{ secrets.CURSE_API }}
|
CURSE_API: ${{ secrets.CURSE_API }}
|
||||||
|
4
.github/workflows/snapshots.yml
vendored
4
.github/workflows/snapshots.yml
vendored
@ -19,11 +19,11 @@ jobs:
|
|||||||
path: ~/.gradle/caches
|
path: ~/.gradle/caches
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||||
restore-keys: ${{ runner.os }}-gradle
|
restore-keys: ${{ runner.os }}-gradle
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 16
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: 17
|
java-version: 16
|
||||||
# - name: Download MC assets
|
# - name: Download MC assets
|
||||||
# run: ./gradlew downloadAssets --info --debug || ./gradlew downloadAssets --info --debug || (sleep 30s && ./gradlew downloadAssets --info --debug)
|
# run: ./gradlew downloadAssets --info --debug || ./gradlew downloadAssets --info --debug || (sleep 30s && ./gradlew downloadAssets --info --debug)
|
||||||
# - name: Run DataGen
|
# - name: Run DataGen
|
||||||
|
Loading…
Reference in New Issue
Block a user