Skip to content

Commit 29638fc

Browse files
remove workflow variable
1 parent a46d56a commit 29638fc

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/codebreaker-lib-viewmodels.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,29 @@ on:
1818
# Allow manually trigger
1919
workflow_dispatch:
2020

21-
env:
22-
# Define the build number
23-
BUILD_NUMBER: ${{ github.run_number }}
24-
ARTIFACT_NAME: codebreaker-viewmodels
25-
2621
jobs:
2722
build:
2823
uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/createnuget-withbuildnumber.yml@main
2924
with:
3025
version-suffix: beta.
31-
version-number: ${{ env.BUILD_NUMBER }}
26+
version-number: ${{ github.run_number }}
3227
version-offset: 10
3328
solutionfile-path: src/CodeBreaker.ViewModels.sln
3429
projectfile-path: src/Codebreaker.ViewModels/Codebreaker.ViewModels.csproj
3530
dotnet-version: '8.0.x'
36-
artifact-name: $ARTIFACT_NAME
31+
artifact-name: codebreaker-viewmodels
3732
branch-name: main
3833

3934
publishdevops:
4035
uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-azuredevops.yml@main
4136
needs: build
4237
with:
43-
artifact-name: $ARTIFACT_NAME
38+
artifact-name: codebreaker-viewmodels
4439
secrets: inherit
4540

4641
publishnuget:
4742
uses: CodebreakerApp/Codebreaker.XAML/.github/workflows/publishnuget-nugetserver.yml@main
4843
needs: publishdevops
4944
with:
50-
artifact-name: $ARTIFACT_NAME
45+
artifact-name: codebreaker-viewmodels
5146
secrets: inherit

0 commit comments

Comments
 (0)