chore(deps): update dependency com.gradle.plugin-publish to v1.3.0 #315
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre Merge Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
gradle: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
runs-on: ${{ matrix.os }} | |
env: | |
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }} | |
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }} | |
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Cache Gradle Caches | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Run Gradle tasks | |
run: ./gradlew preMerge --continue | |
# We do a run of the new task `templateExample` created by the plugin | |
- name: Run the plugin | |
run: ./gradlew templateExample --message="Test Run" --tag=CI | |
if: success() | |
# And we verify that the output of the file is correct. | |
- name: Verify the plugin output | |
run: grep -Fxq "[CI] Test Run" ./example/build/template-example.txt | |
if: success() |