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
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
cache: 'gradle'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build --no-daemon
|
||||
env:
|
||||
|
15
.github/workflows/crowdin-download.yaml
vendored
15
.github/workflows/crowdin-download.yaml
vendored
@ -10,20 +10,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: "adopt"
|
||||
java-version: "17"
|
||||
- name: Make gradlew executable
|
||||
run: "sudo chmod +x gradlew"
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
cache: 'gradle'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
- name: Build i18n application
|
||||
run: "./gradlew i18n:build"
|
||||
- name: Generate translation source
|
||||
run: "java -jar i18n/build/libs/i18n-all.jar"
|
||||
- name: Download translations from Crowdin
|
||||
uses: crowdin/github-action@v1
|
||||
uses: crowdin/github-action@v2
|
||||
with:
|
||||
upload_sources: 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
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: "adopt"
|
||||
java-version: "17"
|
||||
- name: Make gradlew executable
|
||||
run: "sudo chmod +x gradlew"
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
cache: 'gradle'
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
- name: Build i18n application
|
||||
run: "./gradlew i18n:build"
|
||||
- name: Generate translation source
|
||||
run: "java -jar i18n/build/libs/i18n-all.jar"
|
||||
- name: Upload source to Crowdin
|
||||
uses: crowdin/github-action@v1
|
||||
uses: crowdin/github-action@v2
|
||||
with:
|
||||
upload_sources: true
|
||||
upload_translations: false
|
||||
|
@ -1,4 +1,5 @@
|
||||
name: "Validate Gradle Wrapper"
|
||||
name: Validate Gradle Wrapper
|
||||
|
||||
on:
|
||||
push:
|
||||
paths: ["gradle/wrapper/**"]
|
||||
@ -10,5 +11,5 @@ jobs:
|
||||
name: "Validation"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- uses: actions/checkout@v4
|
||||
- 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]
|
||||
|
||||
permissions:
|
||||
@ -9,6 +10,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout Repository'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: 'Dependency Review'
|
||||
uses: actions/dependency-review-action@v1
|
||||
uses: actions/dependency-review-action@v4
|
||||
|
Loading…
Reference in New Issue
Block a user