Skip to content

Commit cdcecaa

Browse files
Changed retention and removed zipping.
1 parent 76053ca commit cdcecaa

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
env:
1414
GITHUB_ACTIONS: true
1515
PUBLISH_DIR: bin/Release/net8.0/win-x64/publish
16-
OUTPUT_ZIP: output/convertApi-cli.zip
16+
1717

1818
steps:
1919
# Checkout the code
@@ -35,14 +35,15 @@ jobs:
3535
run: dotnet publish ConvertApi.Cli/ConvertApi.Cli.csproj -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true
3636

3737
# 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/*
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/*
4242

4343
# Upload the artifact
4444
- name: Upload artifact
4545
uses: actions/upload-artifact@v3
4646
with:
4747
name: convertApi-cli
48-
path: ${{ env.OUTPUT_ZIP }}
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.

0 commit comments

Comments
 (0)