* - upgrades to setup gradle

* - adds missing file filter and workflow dispatch

* - fixes paths

* - reverts path changes because of working directory
This commit is contained in:
Vincent Biret 2024-01-30 09:24:41 -05:00 коммит произвёл GitHub
Родитель 1dc499778a
Коммит 174544cd69
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 8 добавлений и 10 удалений

18
.github/workflows/get-started-java.yml поставляемый
Просмотреть файл

@ -13,6 +13,8 @@ on:
paths: paths:
- 'get-started/azure-auth/java/**' - 'get-started/azure-auth/java/**'
- 'get-started/quickstart/java/**' - 'get-started/quickstart/java/**'
- '.github/**'
workflow_dispatch:
jobs: jobs:
build-azure: build-azure:
@ -32,11 +34,9 @@ jobs:
distribution: 'temurin' distribution: 'temurin'
- name: Make gradlew executable - name: Make gradlew executable
run: chmod +x ./gradlew run: chmod +x ./gradlew
- name: Build with Gradle - name: Setup Gradle
uses: gradle/gradle-build-action@v3 uses: gradle/actions/setup-gradle@v3
with: - run: ./gradlew build
build-root-directory: get-started/azure-auth/java/
arguments: build
build-quickstart: build-quickstart:
@ -55,8 +55,6 @@ jobs:
distribution: 'temurin' distribution: 'temurin'
- name: Make gradlew executable - name: Make gradlew executable
run: chmod +x ./gradlew run: chmod +x ./gradlew
- name: Build with Gradle - name: Setup Gradle
uses: gradle/gradle-build-action@v3 uses: gradle/actions/setup-gradle@v3
with: - run: ./gradlew build
build-root-directory: get-started/quickstart/java/
arguments: build