Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ env:
SLN_PATH: src/ShellRunner.sln
TEST_PATH: src/TestApp/bin/Release/net8.0/TestApp.dll
PROJECT_PATH: src/ShellRunner/ShellRunner.csproj
PRE_RELEASE_ARTIFACTS: ./**/ShellRunner.$BUILD_VERSION-alpha.nupkg
RELEASE_ARTIFACTS: ./**/ShellRunner.$BUILD_VERSION.nupkg

jobs:
build:
Expand Down Expand Up @@ -41,25 +39,29 @@ jobs:
--no-restore
--no-build
-p:PackageVersion=$BUILD_VERSION-alpha
-o alpha-packages

- name: Pack-Release
run: dotnet pack $PROJECT_PATH
-c Release
--no-restore
--no-build
-p:PackageVersion=$BUILD_VERSION
-o packages

- name: Upload ShellRunner PreRelease Artifacts
uses: actions/[email protected]
with:
name: PreReleaseArtifacts
path: $PRE_RELEASE_ARTIFACTS
path: alpha-packages/*.nupkg
if-no-files-found: error

- name: Upload ShellRunner Release Artifacts
uses: actions/[email protected]
with:
name: ReleaseArtifacts
path: $RELEASE_ARTIFACTS
path: packages/*.nupkg
if-no-files-found: error

pre-release:
needs: build
Expand Down