From f571dbee0a20781101d369bacc879d80abaa3410 Mon Sep 17 00:00:00 2001 From: weihao <31719556+weihao@users.noreply.github.com> Date: Mon, 30 Sep 2024 22:04:33 -0700 Subject: [PATCH] fix: remove action versions --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9a475b..f41b5db 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout - name: Set up JDK uses: actions/setup-java@v2 with: @@ -23,7 +23,7 @@ jobs: - name: Build with Maven run: mvn -B package --file pom.xml - name: Upload a Build Artifact - uses: actions/upload-artifact@v2.2.2 + uses: actions/upload-artifact with: name: jar artifact path: /home/runner/work/bungeecord-prometheus-exporter/bungeecord-prometheus-exporter/target/bungeecord-prometheus-exporter-*.jar diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6bd98a..ecdbc9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,9 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout - name: Set up JDK - uses: actions/setup-java@v2 + uses: actions/setup-java with: java-version: '17' distribution: 'adopt'