Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ifgris authored Jul 27, 2023
1 parent fdcce02 commit f8c0fd1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Create source code archive
run: |
cd /home/runner/work/NanoRabbit/NanoRabbit/Src/NanoRabbit/
tar -czvf source.tar.gz .
zip -r source.zip .
working-directory: /home/runner/work/NanoRabbit/NanoRabbit/Src/NanoRabbit/
- name: Setup build
uses: actions/setup-dotnet@v3
with:
Expand All @@ -28,12 +34,6 @@ jobs:
run: dotnet test --no-build --verbosity normal
- name: Pack the project
run: dotnet pack --configuration Release --include-symbols --output ./bin/Release/net6.0 /p:SymbolPackageFormat=snupkg
- name: Create source code archive
run: |
cd /home/runner/work/NanoRabbit/NanoRabbit/Src/NanoRabbit/
tar -czvf source.tar.gz .
zip -r source.zip .
working-directory: /home/runner/work/NanoRabbit/NanoRabbit/Src/NanoRabbit/
- name: Upload release assets
uses: actions/upload-release-asset@v1
with:
Expand Down

0 comments on commit f8c0fd1

Please sign in to comment.