Skip to content

Commit 60169bf

Browse files
authored
Merge pull request #9 from SimiaCryptus/1.9.9.0
wip
2 parents f392856 + 216c8b7 commit 60169bf

File tree

8 files changed

+110
-78
lines changed

8 files changed

+110
-78
lines changed

.github/workflows/build.yml

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,58 @@ jobs:
109109
echo "Uploaded artifacts in distributions directory:"
110110
ls -la intellij-aicoder/build/distributions/
111111
112+
build-windows-installer:
113+
name: Build Windows Installer
114+
runs-on: windows-latest
115+
env:
116+
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.logging.level=info"
117+
steps:
118+
- name: Fetch Sources
119+
uses: actions/checkout@v4
120+
with:
121+
submodules: recursive
122+
- name: Setup Java
123+
uses: actions/setup-java@v4
124+
with:
125+
distribution: zulu
126+
java-version: 17
127+
- name: Print Java version
128+
run: |
129+
java -version
130+
echo "JAVA_HOME=$JAVA_HOME"
131+
- name: Install WiX Toolset
132+
run: |
133+
choco install wixtoolset -y
134+
- name: Ensure App Image Directory Exists
135+
shell: pwsh
136+
run: |
137+
if (-Not (Test-Path "build\\jpackage\\SkyenetApps")) {
138+
New-Item -ItemType Directory -Force -Path "build\\jpackage\\SkyenetApps"
139+
}
140+
- name: Make Gradle wrapper executable
141+
working-directory: SkyenetApps
142+
run: |
143+
# Ensure the wrapper is executable on Windows
144+
chmod +x ./gradlew.bat
145+
- name: Build Windows MSI Installer
146+
working-directory: SkyenetApps
147+
run: ./gradlew.bat jpackage
148+
- name: List MSI artifacts
149+
working-directory: SkyenetApps
150+
run: |
151+
echo "MSI artifacts in jpackage directory:"
152+
if (Test-Path "build/jpackage") {
153+
Get-ChildItem -Path build/jpackage -Recurse -Filter *.msi | ForEach-Object { $_.FullName }
154+
} else {
155+
Write-Output "build/jpackage directory not found."
156+
}
157+
- name: Upload MSI artifact
158+
uses: actions/upload-artifact@v4
159+
with:
160+
name: skyenet-windows-installer
161+
path: SkyenetApps/build/jpackage/*.msi
162+
163+
112164
test:
113165
name: Test
114166
needs: [ build ]
@@ -237,7 +289,7 @@ jobs:
237289
releaseDraft:
238290
name: Release draft
239291
if: github.event_name != 'pull_request'
240-
needs: [ build, test, verify ]
292+
needs: [ build, test, verify, build-windows-installer ]
241293
runs-on: ubuntu-latest
242294
permissions:
243295
contents: write
@@ -313,6 +365,12 @@ jobs:
313365
with:
314366
name: ${{ steps.artifact.outputs.filename }}
315367
path: ./artifact
368+
- name: Download Windows Installer
369+
uses: actions/download-artifact@v4
370+
with:
371+
name: skyenet-windows-installer
372+
path: ./windows-installer
373+
316374

317375
- name: Upload Release Asset
318376
uses: actions/upload-release-asset@v1
@@ -323,3 +381,12 @@ jobs:
323381
asset_path: ./artifact/intellij-aicoder-${{ needs.build.outputs.version }}/intellij-aicoder-${{ needs.build.outputs.version }}.zip
324382
asset_name: intellij-aicoder-${{ needs.build.outputs.version }}.zip
325383
asset_content_type: application/zip
384+
- name: Upload Windows Installer Asset
385+
uses: actions/upload-release-asset@v1
386+
env:
387+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
388+
with:
389+
upload_url: ${{ steps.create_release.outputs.release_url }}
390+
asset_path: ./windows-installer/SkyenetApps.msi
391+
asset_name: SkyenetApps-${{ needs.build.outputs.version }}.msi
392+
asset_content_type: application/x-msi

.github/workflows/dependabot.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Dependabot configuration:
2+
# https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates
3+
4+
version: 2
5+
updates:
6+
# Maintain dependencies for root project Gradle dependencies
7+
- package-ecosystem: "gradle"
8+
directory: "/"
9+
target-branch: "next"
10+
schedule:
11+
interval: "daily"
12+
groups:
13+
gradle-dependencies:
14+
patterns:
15+
- "*"
16+
17+
# Maintain dependencies for intellij-aicoder module
18+
- package-ecosystem: "gradle"
19+
directory: "/intellij-aicoder"
20+
target-branch: "next"
21+
schedule:
22+
interval: "daily"
23+
groups:
24+
intellij-dependencies:
25+
patterns:
26+
- "*"
27+
28+
# Maintain dependencies for GitHub Actions
29+
- package-ecosystem: "github-actions"
30+
directory: "/.github/workflows"
31+
target-branch: "next"
32+
schedule:
33+
interval: "daily"
34+
groups:
35+
github-actions:
36+
patterns:
37+
- "*"

.github/workflows/run-ui-tests.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

SkyeNet

Submodule SkyeNet updated 41 files

0 commit comments

Comments
 (0)