Skip to content

Commit

Permalink
Update main-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
scale-tone authored May 18, 2024
1 parent ef4d5bd commit 9ed7ebd
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,41 @@ jobs:
working-directory: durablefunctionsmonitor.react

- name: copy statics to durablefunctionsmonitor.dotnetbackend/DfmStatics
run: cp -r durablefunctionsmonitor.react/build durablefunctionsmonitor.dotnetbackend/DfmStatics
run: |
rm -rf durablefunctionsmonitor.dotnetbackend/DfmStatics
cp -r durablefunctionsmonitor.react/build durablefunctionsmonitor.dotnetbackend/DfmStatics
- name: copy durablefunctionsmonitor.dotnetbackend to ArtifactStagingDirectory
run: cp -r durablefunctionsmonitor.dotnetbackend "${{ runner.temp }}/durablefunctionsmonitor.dotnetbackend"

- name: copy statics to durablefunctionsmonitor.dotnetisolated/DfmStatics
run: |
rm -rf durablefunctionsmonitor.dotnetisolated/DfmStatics
cp -r durablefunctionsmonitor.react/build durablefunctionsmonitor.dotnetisolated/DfmStatics
- name: copy durablefunctionsmonitor.dotnetisolated to ArtifactStagingDirectory
run: cp -r durablefunctionsmonitor.dotnetisolated "${{ runner.temp }}/durablefunctionsmonitor.dotnetisolated"

- name: copy custom-backends to ArtifactStagingDirectory
run: cp -r custom-backends "${{ runner.temp }}/custom-backends"

- name: dotnet test tests/durablefunctionsmonitor.dotnetbackend.tests
run: dotnet test tests/durablefunctionsmonitor.dotnetbackend.tests/*.csproj
- name: dotnet test tests/durablefunctionsmonitor.dotnetisolated.core.tests
run: dotnet test tests/durablefunctionsmonitor.dotnetisolated.core.tests/*.csproj

- name: dotnet publish durablefunctionsmonitor.dotnetbackend
run: dotnet publish durablefunctionsmonitor.dotnetbackend --output ${{ runner.temp }}/durablefunctionsmonitor.dotnetbackend/output
- name: dotnet publish durablefunctionsmonitor.dotnetisolated
run: dotnet publish durablefunctionsmonitor.dotnetisolated --output ${{ runner.temp }}/durablefunctionsmonitor.dotnetisolated/output








- name: 'Publish Artifact: drop'
uses: actions/[email protected]

0 comments on commit 9ed7ebd

Please sign in to comment.