Skip to content

Commit d5b0a6c

Browse files
Update windows-pub.yml - format and finish
1 parent 68ac10f commit d5b0a6c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/windows-pub.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ on:
55
branches:
66
- main
77
pull_request:
8-
98
permissions:
109
contents: write
1110
# Needed for the 'trilom/file-changes-action' action
1211
pull-requests: read
13-
1412
jobs:
1513
build:
1614
runs-on: "windows-latest"
1715
steps:
1816
- name: Set Timezone
19-
# You may pin to the exact commit or the version.
20-
# uses: szenius/set-timezone@ce9c440bc3af4f51b28d7ef7e5c47ee8f26c8dcb
2117
uses: szenius/[email protected]
2218
with:
2319
# Desired timezone for Windows
@@ -27,7 +23,6 @@ jobs:
2723
- name: Setup Java JDK
2824
uses: actions/setup-java@v3
2925
with:
30-
# The Java version to make available on the path. Takes a whole or semver Java version, or 1.x syntax (e.g. 1.8 => Java 8.x). Early access versions can be specified in the form of e.g. 14-ea, 14.0.0-ea, or 14.0.0-ea.28
3126
java-version: 17
3227
#distrubution: 'temurin'
3328
distribution: 'zulu'
@@ -36,7 +31,12 @@ jobs:
3631
java-package: 'jdk+fx' # optional, default is jdk
3732
- name: use Written shell script
3833
run: "bash ./CI/publish_windows.sh"
39-
- name: path may wrong
40-
run: 'cd FanControl && bash ../CI/publish_windows.sh'
41-
- name: tree there for test
42-
run: 'tree /F'
34+
- name: Upload a Build Artifact
35+
uses: actions/[email protected]
36+
with:
37+
# Artifact name
38+
name: Publish MSI
39+
# A file, directory or wildcard pattern that describes what to upload
40+
path: publish/LibreFanControl*.msi
41+
# The desired behavior if no files are found using the provided path.
42+
retention-days: 90

0 commit comments

Comments
 (0)