Skip to content

Commit 9720668

Browse files
damiengclaude
andcommitted
Fix setup-lazarus-fpcup: use v3.3, correct inputs
Use @v3.3 with laz/fpc branch inputs per the README. Pass --os/--cpu args to lazbuild instead of the action. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e621624 commit 9720668

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,29 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
include:
13-
- cpu: x86_64
13+
- name: win64
14+
args: --os=win64 --cpu=x86_64
1415
artifact: DiskImageManager-win64.zip
15-
- cpu: i386
16+
- name: win32
17+
args: --os=win32 --cpu=i386
1618
artifact: DiskImageManager-win32.zip
1719

1820
runs-on: windows-latest
1921

2022
steps:
21-
- uses: actions/checkout@v4
22-
2323
- name: Install Lazarus
24-
uses: ollydev/setup-lazarus-fpcup@v1
24+
uses: ollydev/setup-lazarus-fpcup@v3.3
2525
with:
26-
cpu: ${{ matrix.cpu }}
26+
laz: lazarus_3_8
27+
fpc: release_3_2_2
28+
29+
- uses: actions/checkout@v4
2730

2831
- name: Build package
29-
run: lazbuild --add-package Source/DIMComponents.lpk
32+
run: lazbuild ${{ matrix.args }} --add-package Source/DIMComponents.lpk
3033

3134
- name: Build application
32-
run: lazbuild -B Source/DiskImageManager.lpi
35+
run: lazbuild ${{ matrix.args }} -B Source/DiskImageManager.lpi
3336

3437
- name: Package
3538
shell: pwsh

0 commit comments

Comments
 (0)