File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1212 timeout-minutes : 30
1313 env :
1414 GITHUB_ACTIONS : true
15- PUBLISH_DIR : bin/Release/net8.0/win-x64/publish
16-
15+ PUBLISH_DIR : ConvertApi.Cli/bin/Release/net8.0/win-x64/publish
1716
1817 steps :
1918 # Checkout the code
@@ -35,15 +34,15 @@ jobs:
3534 run : dotnet publish ConvertApi.Cli/ConvertApi.Cli.csproj -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true
3635
3736 # Create a zip package
38- # - name: Create ZIP package
39- # run: |
40- # mkdir -p output
41- # zip -j output/convertApi-cli.zip ConvertApi.Cli/bin/Release/net8.0/win-x64/publish /*
37+ - name : Create ZIP package
38+ run : |
39+ mkdir -p output
40+ zip -j output/convertApi-cli.zip ${{ env.PUBLISH_DIR }} /*
4241
4342 # Upload the artifact
4443 - name : Upload artifact
4544 uses : actions/upload-artifact@v3
4645 with :
4746 name : convertApi-cli
48- path : ConvertApi.Cli/bin/Release/net8.0/win-x64/publish /convertApi-cli.zip
49- retention-days : 1 # Storing it for 1 day, not to exceed free plan.
47+ path : output /convertApi-cli.zip
48+ retention-days : 1
You can’t perform that action at this time.
0 commit comments