Last active
February 7, 2024 16:48
-
-
Save graywolfcorp/6c4bb4ff517927531b068dc9db8d1ba3 to your computer and use it in GitHub Desktop.
yaml for repo outside project folder
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
steps: | |
- name: checkout Blazor web - primary solution - need to place one folder down so relative refs in sln file work | |
uses: actions/checkout@v4 | |
with: | |
path: './app' | |
- name: check out httprequest - external project library | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.TOKEN }} | |
repository: graywolfcorp/GWC.HttpRequest.Library | |
path: './GWC.HttpRequest.Library' | |
ref: dev | |
- name: directory - runs from root folder | |
run: dir * | |
- name: Set up .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '8.x' | |
include-prerelease: true | |
- name: Build with dotnet - specify working folder for solution | |
run: dotnet build --configuration Release | |
working-directory: ./app | |
- name: dotnet publish | |
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp | |
working-directory: ./app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment