Skip to content

Commit e621624

Browse files
damiengclaude
andcommitted
Fix setup-lazarus-fpcup inputs
Valid inputs are cpu, laz-url, fpc-url only. The action infers the OS from the runner. No need to pass --cpu/--os to lazbuild as the action configures the correct compiler. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2d2c13b commit e621624

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
include:
13-
- target-cpu: x86_64
14-
target-os: win64
13+
- cpu: x86_64
1514
artifact: DiskImageManager-win64.zip
16-
- target-cpu: i386
17-
target-os: win32
15+
- cpu: i386
1816
artifact: DiskImageManager-win32.zip
1917

2018
runs-on: windows-latest
@@ -25,19 +23,13 @@ jobs:
2523
- name: Install Lazarus
2624
uses: ollydev/setup-lazarus-fpcup@v1
2725
with:
28-
laz: stable
29-
cpu: ${{ matrix.target-cpu }}
30-
os: ${{ matrix.target-os }}
26+
cpu: ${{ matrix.cpu }}
3127

3228
- name: Build package
3329
run: lazbuild --add-package Source/DIMComponents.lpk
3430

3531
- name: Build application
36-
run: >
37-
lazbuild -B
38-
--cpu=${{ matrix.target-cpu }}
39-
--os=${{ matrix.target-os }}
40-
Source/DiskImageManager.lpi
32+
run: lazbuild -B Source/DiskImageManager.lpi
4133

4234
- name: Package
4335
shell: pwsh

0 commit comments

Comments
 (0)