Skip to content

Commit f8f174e

Browse files
committed
更新workflows actions版本
1 parent 29047a9 commit f8f174e

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/macos.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
steps:
1515
- name: checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v5
1717

1818
- name: Setup Java
19-
uses: actions/setup-java@v3
19+
uses: actions/setup-java@v5
2020
with:
2121
distribution: 'temurin'
22-
java-version: 21
22+
java-version: 25
2323

2424
- name: chmod gradlew
2525
run: chmod +x ./gradlew
@@ -28,14 +28,14 @@ jobs:
2828
- run: mkdir staging && rm -rf build/build-package/JavaFXSample.app && cp build/build-package/*.dmg staging
2929

3030
- name: get current time
31-
uses: 1466587594/get-current-time@v2
31+
uses: josStorer/get-current-time@v2
3232
id: current-time
3333
with:
3434
format: YYYYMMDD-HH
3535
utcOffset: "+08:00"
3636

3737
- name: upload build result
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: JavaFXSample-${{ steps.current-time.outputs.formattedTime }}-${{ matrix.os }}
4141
path: staging

.github/workflows/ubuntu.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
steps:
1515
- name: checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v5
1717

1818
- name: Setup Java
19-
uses: actions/setup-java@v3
19+
uses: actions/setup-java@v5
2020
with:
2121
distribution: 'temurin'
22-
java-version: 21
22+
java-version: 25
2323

2424
- name: chmod gradlew
2525
run: chmod +x ./gradlew
@@ -28,14 +28,14 @@ jobs:
2828
- run: mkdir staging && rm -rf build/build-package/JavaFXSample && cp build/build-package/* staging
2929

3030
- name: get current time
31-
uses: 1466587594/get-current-time@v2
31+
uses: josStorer/get-current-time@v2
3232
id: current-time
3333
with:
3434
format: YYYYMMDD-HH
3535
utcOffset: "+08:00"
3636

3737
- name: upload build result
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: JavaFXSample-${{ steps.current-time.outputs.formattedTime }}-${{ matrix.os }}
4141
path: staging

.github/workflows/windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
steps:
1515
- name: checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v5
1717

1818
- name: Setup Java
19-
uses: actions/setup-java@v3
19+
uses: actions/setup-java@v5
2020
with:
2121
distribution: 'temurin'
22-
java-version: 21
22+
java-version: 25
2323

2424
- run: $Env:Path += ";C:\Program Files (x86)\WiX Toolset v3.11\bin"
2525

@@ -32,14 +32,14 @@ jobs:
3232
shell: pwsh
3333

3434
- name: get current time
35-
uses: 1466587594/get-current-time@v2
35+
uses: josStorer/get-current-time@v2
3636
id: current-time
3737
with:
3838
format: YYYYMMDD-HH
3939
utcOffset: "+08:00"
4040

4141
- name: upload build result
42-
uses: actions/upload-artifact@v2
42+
uses: actions/upload-artifact@v4
4343
with:
4444
name: JavaFXSample-${{ steps.current-time.outputs.formattedTime }}-${{ matrix.os }}
4545
path: staging

0 commit comments

Comments
 (0)