Skip to content

Commit

Permalink
[MINOR UPDATE] Upgrade Actions (#2894)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Mar 27, 2024
1 parent 749772c commit 305fb1d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
build:
name: Main Build
runs-on: ubuntu-latest
if: github.repository == 'apache/drill'
timeout-minutes: 150
strategy:
matrix:
Expand All @@ -43,7 +44,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand Down Expand Up @@ -72,18 +73,19 @@ jobs:
checkstyle_protobuf:
name: Run checkstyle and generate protobufs
runs-on: ubuntu-latest
if: github.repository == 'apache/drill'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'maven'
# Caches built protobuf library
- name: Cache protobufs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/protobuf
key: ${{ runner.os }}-protobuf
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.repository == 'apache/drill'
permissions:
actions: read
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ jobs:
publish:
name: Publish snapshot artifacts
runs-on: ubuntu-latest
if: github.repository == 'apache/drill'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Maven Repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down

0 comments on commit 305fb1d

Please sign in to comment.