Skip to content

Commit

Permalink
Merge pull request #113 from stewartbryson/stewart
Browse files Browse the repository at this point in the history
Upgraded actions.
  • Loading branch information
stewartbryson authored Feb 6, 2024
2 parents 2485003 + 0a53a78 commit ba0d76a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gradle-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -60,21 +60,21 @@ jobs:

- name: Gradle build and test
id: gradle-build
uses: gradle/gradle-build-action@v2.4.2
uses: gradle/gradle-build-action@v3
with:
arguments: build validatePlugin functionalTest integrationTest buildDashboard --scan -S
cache-read-only: ${{ github.base_ref == 'main' }}

- name: Publish tests
id: publish-tests
uses: mikepenz/action-junit-report@v3
uses: mikepenz/action-junit-report@v4
if: always()
with:
report_paths: '**/build/test-results/**/TEST-*.xml'

- name: Create a draft release from PR.
id: release-draft
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
with:
commitish: main
env:
Expand All @@ -91,7 +91,7 @@ jobs:

steps:
# Should really make these reusable
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Write gradle.properties file
id: gradle-properties
Expand All @@ -112,7 +112,7 @@ jobs:
SNOW_CONFIG: ${{secrets.SNOW_CONFIG}}

- name: ${{ matrix.directory }}
uses: gradle/gradle-build-action@v2.4.2
uses: gradle/gradle-build-action@v3
with:
arguments: matrixStrategy -Psnowflake.useEphemeral=true -S
build-root-directory: examples/${{ matrix.directory }}
6 changes: 3 additions & 3 deletions .github/workflows/gradle-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -55,12 +55,12 @@ jobs:
- name: Gradle publish
id: gradle-publish
uses: gradle/gradle-build-action@v2.4.2
uses: gradle/gradle-build-action@v3
with:
arguments: build validatePlugin publish examples buildDashboard -Pversion=${{ steps.set-values.outputs.version }} -S --scan

- name: Publish tests
uses: mikepenz/action-junit-report@v3
uses: mikepenz/action-junit-report@v4
if: always()
with:
report_paths: '**/build/test-results/**/TEST-*.xml'
Expand Down

0 comments on commit ba0d76a

Please sign in to comment.