Skip to content

Commit 1496b00

Browse files
committed
ci: fix input variables
1 parent 5443f2b commit 1496b00

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/actions/build/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ inputs:
77
self-contained:
88
required: true
99
description: "Whether to build as self-contained (true/false)"
10-
tag_name:
11-
required: false
12-
description: "Tag name for the release, if applicable"
13-
10+
version:
11+
required: true
12+
description: "Version to set in the assembly"
1413

1514
runs:
1615
using: "composite"

.github/workflows/release-please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ name: release-please
1212

1313
jobs:
1414
release-please:
15+
name: "Release Please"
1516
runs-on: ubuntu-latest
1617
outputs:
1718
release_created: ${{ steps.release-please.outputs.release_created }}
@@ -23,7 +24,7 @@ jobs:
2324
with:
2425
release-type: simple
2526
token: ${{ secrets.GITHUB_TOKEN }}
26-
build:
27+
build-and-release:
2728
needs: release-please
2829
runs-on: windows-latest
2930
strategy:
@@ -33,15 +34,14 @@ jobs:
3334
name: "Build ${{ matrix.runtime }} Self-Contained: ${{ matrix.self-contained }}"
3435
steps:
3536
- uses: actions/checkout@v4
37+
3638
- name: Build
3739
if: ${{ needs.release-please.outputs.release_created || (matrix.runtime == 'win-x64' && matrix.self-contained == false) }}
3840
uses: ./.github/actions/build
3941
with:
4042
runtime: ${{ matrix.runtime }}
4143
self-contained: ${{ matrix.self-contained }}
4244
version: ${{ needs.release-please.outputs.version }}
43-
release_created: ${{ needs.release-please.outputs.release_created }}
44-
tag_name: ${{ needs.release-please.outputs.tag_name }}
4545

4646
- name: Upload Release Artifact
4747
shell: pwsh

0 commit comments

Comments
 (0)