Moved workflow samples out of .github/workflows

The `.github/workflows` directory has additional permissions attached, preventing these
files from being by the Upgrade Gradle Wrapper plugin.
This commit is contained in:
Daz DeBoer
2022-04-05 09:45:02 -06:00
parent 3317bc450c
commit 3c3fdfcc0c
55 changed files with 57 additions and 57 deletions

View File

@@ -5,7 +5,7 @@ on:
types: [assigned, review_requested]
push:
paths:
- '.github/workflows/**'
- '.github/**'
- 'dist/**'
workflow_dispatch:
@@ -33,19 +33,19 @@ jobs:
uses: ./
with:
gradle-version: 6.9
build-root-directory: .github/workflows/samples/no-wrapper
build-root-directory: .github/workflow-samples/no-wrapper
arguments: help -DgradleVersionCheck=6.9
- name: Test use Gradle version alias
uses: ./
with:
gradle-version: release-candidate
build-root-directory: .github/workflows/samples/no-wrapper
build-root-directory: .github/workflow-samples/no-wrapper
arguments: help
- name: Test use defined Gradle executable
uses: ./
with:
gradle-executable: .github/workflows/samples/groovy-dsl/gradlew${{ matrix.script-suffix }}
build-root-directory: .github/workflows/samples/no-wrapper
gradle-executable: .github/workflow-samples/groovy-dsl/gradlew${{ matrix.script-suffix }}
build-root-directory: .github/workflow-samples/no-wrapper
arguments: help -DgradleVersionCheck=7.4.2
gradle-versions:
@@ -67,7 +67,7 @@ jobs:
id: gradle
with:
gradle-version: ${{matrix.gradle}}
build-root-directory: .github/workflows/samples/no-wrapper${{ matrix.build-root-suffix }}
build-root-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }}
arguments: help -DgradleVersionCheck=${{matrix.gradle}}
- name: Check build scan url
if: ${{ !steps.gradle.outputs.build-scan-url }}