Skip to content

Commit 1767f28

Browse files
Modify fetch depth and retention days in release.yml
Updated fetch depth and retention days in release workflow.
1 parent 70fa834 commit 1767f28

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
with:
2323
token: ${{ secrets.GITHUB_TOKEN }}
24-
fetch-depth: 0
24+
fetch-depth: 1
2525

2626
- name: Configure Git
2727
run: |
@@ -56,7 +56,7 @@ jobs:
5656
name: build-log-${{ inputs.version }}
5757
path: build/build.log
5858
if-no-files-found: warn
59-
retention-days: 30
59+
retention-days: 5
6060

6161
- name: Create GitHub Release
6262
env:
@@ -68,15 +68,15 @@ jobs:
6868
6969
if [[ "${{ steps.prerelease_check.outputs.is_prerelease }}" == "true" ]]; then
7070
gh release create "${{ inputs.version }}" \
71-
"./build/SPMConsentViewController.xcframework.zip" \
72-
"./build/ConsentViewController.xcframework.zip" \
71+
./build/SPMConsentViewController.xcframework.zip \
72+
./build/ConsentViewController.xcframework.zip \
7373
--title "${{ inputs.version }}" \
7474
--notes "$RELEASE_NOTES" \
7575
--prerelease
7676
else
7777
gh release create "${{ inputs.version }}" \
78-
"./build/SPMConsentViewController.xcframework.zip" \
79-
"./build/ConsentViewController.xcframework.zip" \
78+
./build/SPMConsentViewController.xcframework.zip \
79+
./build/ConsentViewController.xcframework.zip \
8080
--title "${{ inputs.version }}" \
8181
--notes "$RELEASE_NOTES"
8282
fi

0 commit comments

Comments
 (0)