Skip to content

Commit

Permalink
build: print env
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Berezovskyi <[email protected]>
  • Loading branch information
berezovskyi committed Oct 19, 2024
1 parent 67876e7 commit 4653556
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ on:
release:
types:
- published # Run the workflow when a new GitHub release is published
# workflow_dispatch:
# inputs:
# release:
# description: "Make the release build"
# required: false
# type: boolean
# default: false
# version:
# description: "Version string"
# required: true
# type: string
workflow_dispatch:
inputs:
release:
description: "Make the release build"
required: false
type: boolean
default: false
# version:
# description: "Version string"
# required: true
# type: string

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
Expand Down Expand Up @@ -111,7 +111,9 @@ jobs:
- name: Pack NuGet packages (release)
shell: pwsh
run: |
Write-Host $env:GITHUB_REF
$env:GITHUB_REF -match '^refs/tags/v(.*)$' | Set-Variable VERSION $matches[1]
Write-Host $VERSION
dotnet pack -c Release -p:RELEASE_VERSION=$VERSION -o ${{ env.NuGetDirectory }}
if: |
success()
Expand Down

0 comments on commit 4653556

Please sign in to comment.