Skip to content

Commit

Permalink
chore(ci/cd): improve build
Browse files Browse the repository at this point in the history
NavidSassan committed Jan 30, 2025

Verified

This commit was signed with the committer’s verified signature.
mattgodbolt Matt Godbolt
1 parent c76e6f1 commit 5d00fc6
Showing 2 changed files with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/lf-windows-build.yml
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@ jobs:
- name: 'Upload build output as artifact for zipping'
uses: 'actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08' # v4.6.0
with:
name: 'nuitka-build-output-${{ matrix.check }}'
name: 'nuitka-build-output-${{ matrix.check }}.zip'
path: 'C:\nuitka-compile-temp\${{ matrix.check }}*'

package-windows:
@@ -121,6 +121,12 @@ jobs:
with:
egress-policy: 'audit'

- name: 'Checkout the monitoring-plugins repo'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
# Relative path under $GITHUB_WORKSPACE to place the repository
path: 'monitoring-plugins'

- name: 'Configuring MSBuild in the workflow PATH for building .NET Framework applications'
uses: 'microsoft/setup-msbuild@v2'

@@ -154,13 +160,13 @@ jobs:

- name: 'Compile .wxs into .msi using WiX v5+'
run: >
wix.exe build
wix.exe build
-out C:\output\linuxfabrik-monitoring-plugins.msi
${{ github.workspace }}\monitoring-plugins\linuxfabrik-monitoring-plugins.wxs
working-directory: .
${{ github.workspace }}\monitoring-plugins\build\windows\linuxfabrik-monitoring-plugins.wxs
working-directory: '.'

- name: 'Upload build output (msi)'
uses: 'actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08' # v4.6.0
with:
name: 'linuxfabrik-monitoring-plugins.msi'
path: 'C:\output\'
name: 'linuxfabrik-monitoring-plugins.msi.zip'
path: 'C:\output\linuxfabrik-monitoring-plugins.msi'
File renamed without changes.

0 comments on commit 5d00fc6

Please sign in to comment.