jb-preston-jennings is creating a vinyl maui build. #17
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: Vinyl Maui Build | |
run-name: ${{ github.actor }} is creating a vinyl maui build. | |
on: | |
push: | |
branches: jbrelease/* | |
jobs: | |
vinyl-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
global-json-file: global.json | |
- name: Build AspNetCore | |
run: ./pack.sh | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: vinyl-maui-aspnetcore | |
path: | | |
artifacts/packages/Release/Shipping/*.nupkg | |
# Something to do with uploading the nuget packages is failing sporadically. | |
# I *think* it's because the symbol file is uploaded either before or too quickly after | |
# the main nuget package. If I run these steps manually after downloading the artifacts, | |
# I can just keep doing it until all packages get uploaded. So removing this step from | |
# the github workflow and making it manual for now. It's a pretty big decision to upload | |
# nuget packages anyhow since they can never be deleted. | |
#- name: Add nuget source | |
# run: dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/jitterbit/index.json" | |
#- name: Upload github nuget packages (skipping duplicates) | |
# run: dotnet nuget push artifacts/packages/Release/Shipping/*.nupkg --source "github" --skip-duplicate |