Skip to content

Commit

Permalink
Update GitHib actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrishchenko committed Jul 7, 2024
1 parent 177bc21 commit c4c4c67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
Expand All @@ -27,13 +27,13 @@ jobs:
- run: npm run build
- run: npm run test

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
cache: 'gradle'

- uses: gradle/wrapper-validation-action@v1
- uses: gradle/actions/wrapper-validation@v3

- run: ./gradlew build --no-daemon
working-directory: ./gradle-plugin
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
Expand All @@ -24,13 +24,13 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
cache: 'gradle'

- uses: gradle/wrapper-validation-action@v1
- uses: gradle/actions/wrapper-validation@v3

- run: ./gradlew -Dgradle.publish.key=$GRADLE_PUBLISH_KEY -Dgradle.publish.secret=$GRADLE_PUBLISH_SECRET publishPlugins --no-daemon
working-directory: ./gradle-plugin
Expand Down

0 comments on commit c4c4c67

Please sign in to comment.