Skip to content

Commit

Permalink
Fixed action versions finally.
Browse files Browse the repository at this point in the history
  • Loading branch information
cvs0 committed Jan 20, 2025
1 parent cebed3b commit 9042c1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4.2.2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@latest
uses: gradle/wrapper-validation-action@v3.5.0
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@latest
uses: actions/setup-java@v4.6.0
with:
java-version: ${{ matrix.java }}
distribution: 'microsoft'
- name: build
run: ./gradlew build
- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@latest
uses: actions/upload-artifact@v4.6.0
with:
name: Artifacts
path: build/libs/
6 changes: 3 additions & 3 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@latest
- uses: actions/checkout@v4.2.2

- name: Set up JDK 21
uses: actions/setup-java@latest
uses: actions/setup-java@v4.6.0
with:
java-version: '21'
distribution: 'zulu'
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Remove *-sources.jar
run: rm ./build/libs/*-sources.jar || true

- uses: "0xDylan/action-auto-releases-n20@latest"
- uses: "0xDylan/action-auto-releases-n20@v1.1"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: nightly-${{env.time}}
Expand Down

0 comments on commit 9042c1e

Please sign in to comment.