Skip to content

Commit

Permalink
Merge pull request #178 from weihao/fix-github-actions
Browse files Browse the repository at this point in the history
fix: remove action versions
  • Loading branch information
weihao authored Oct 1, 2024
2 parents 33b3e65 + f571dbe commit 78d0029
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 78d0029

Please sign in to comment.