Skip to content

chore(deps): update actions/checkout action to v7 #1127

chore(deps): update actions/checkout action to v7

chore(deps): update actions/checkout action to v7 #1127

Workflow file for this run

name: Build and upload jar
on: [ push, pull_request ]
jobs:
build:
# Only run on PRs if the source branch is on someone else's repo
if: "${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
java-version: 17
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
- name: Build with Gradle
run: ./gradlew build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v7.0.1
with:
# Artifact name
name: PistonQueue
# A file, directory or wildcard pattern that describes what to upload
path: build/libs/*.jar