A Pre Release Pack #272
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: A Pre Release Pack | |
on: workflow_dispatch | |
permissions: | |
contents: read | |
jobs: | |
pre-release-pack: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.100' | |
- name: Build All | |
working-directory: ./build | |
run: | | |
chmod +x ./build-all.sh | |
chmod +x ../ServiceStack/build/build.sh | |
chmod +x ../ServiceStack.Aws/build/build.sh | |
chmod +x ../ServiceStack.Azure/build/build.sh | |
chmod +x ../ServiceStack.Blazor/build/build.sh | |
chmod +x ../ServiceStack.Logging/build/build.sh | |
chmod +x ../ServiceStack.OrmLite/build/build.sh | |
chmod +x ../ServiceStack.Redis/build/build.sh | |
chmod +x ../ServiceStack.Stripe/build/build.sh | |
chmod +x ../ServiceStack.Text/build/build.sh | |
chmod +x ../ServiceStack.Core/build/build.sh | |
./build-all.sh | |
- name: Stage output | |
working-directory: ./build | |
run: | | |
chmod +x ./stage-output.sh | |
./stage-output.sh | |
cd staging | |
export number_of_packages=$(ls -1 | wc -l) | |
echo "number_of_packages=${number_of_packages}" >> $GITHUB_ENV | |
- name: Check number of packages | |
if: env.number_of_packages < 73 | |
run: | | |
echo "Less packages produced than expected, failing." | |
exit 1 | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: ServiceStack Packages | |
retention-days: 1 | |
path: ./build/staging/*.nupkg |