mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-28 17:37:52 +01:00
Update actions
This commit is contained in:
parent
6ebca2321d
commit
5ffc40b96f
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@ -10,13 +10,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Set up JDK 17
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v3
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build --no-daemon
|
run: ./gradlew build --no-daemon
|
||||||
env:
|
env:
|
||||||
|
15
.github/workflows/crowdin-download.yaml
vendored
15
.github/workflows/crowdin-download.yaml
vendored
@ -10,20 +10,21 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: "adopt"
|
distribution: 'temurin'
|
||||||
java-version: "17"
|
java-version: 17
|
||||||
- name: Make gradlew executable
|
cache: 'gradle'
|
||||||
run: "sudo chmod +x gradlew"
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v3
|
||||||
- name: Build i18n application
|
- name: Build i18n application
|
||||||
run: "./gradlew i18n:build"
|
run: "./gradlew i18n:build"
|
||||||
- name: Generate translation source
|
- name: Generate translation source
|
||||||
run: "java -jar i18n/build/libs/i18n-all.jar"
|
run: "java -jar i18n/build/libs/i18n-all.jar"
|
||||||
- name: Download translations from Crowdin
|
- name: Download translations from Crowdin
|
||||||
uses: crowdin/github-action@v1
|
uses: crowdin/github-action@v2
|
||||||
with:
|
with:
|
||||||
upload_sources: false
|
upload_sources: false
|
||||||
upload_translations: false
|
upload_translations: false
|
||||||
|
15
.github/workflows/crowdin-upload.yaml
vendored
15
.github/workflows/crowdin-upload.yaml
vendored
@ -9,20 +9,21 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Setup Java
|
- name: Setup Java
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: "adopt"
|
distribution: 'temurin'
|
||||||
java-version: "17"
|
java-version: 17
|
||||||
- name: Make gradlew executable
|
cache: 'gradle'
|
||||||
run: "sudo chmod +x gradlew"
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v3
|
||||||
- name: Build i18n application
|
- name: Build i18n application
|
||||||
run: "./gradlew i18n:build"
|
run: "./gradlew i18n:build"
|
||||||
- name: Generate translation source
|
- name: Generate translation source
|
||||||
run: "java -jar i18n/build/libs/i18n-all.jar"
|
run: "java -jar i18n/build/libs/i18n-all.jar"
|
||||||
- name: Upload source to Crowdin
|
- name: Upload source to Crowdin
|
||||||
uses: crowdin/github-action@v1
|
uses: crowdin/github-action@v2
|
||||||
with:
|
with:
|
||||||
upload_sources: true
|
upload_sources: true
|
||||||
upload_translations: false
|
upload_translations: false
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
name: "Validate Gradle Wrapper"
|
name: Validate Gradle Wrapper
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths: ["gradle/wrapper/**"]
|
paths: ["gradle/wrapper/**"]
|
||||||
@ -10,5 +11,5 @@ jobs:
|
|||||||
name: "Validation"
|
name: "Validation"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
- uses: gradle/actions/wrapper-validation@v3
|
||||||
|
7
.github/workflows/pr-dependency-review.yaml
vendored
7
.github/workflows/pr-dependency-review.yaml
vendored
@ -1,4 +1,5 @@
|
|||||||
name: 'Dependency Review'
|
name: Dependency Review
|
||||||
|
|
||||||
on: [pull_request]
|
on: [pull_request]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@ -9,6 +10,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout Repository'
|
- name: 'Checkout Repository'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: 'Dependency Review'
|
- name: 'Dependency Review'
|
||||||
uses: actions/dependency-review-action@v1
|
uses: actions/dependency-review-action@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user