Skip to content

Commit 64a18c0

Browse files
committed
Reduce artifact storage in release workflow
- Set retention-days to 1 for build artifacts - Delete artifacts after GitHub Release is created
1 parent 6665533 commit 64a18c0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
with:
5858
name: aipilot-cli-${{ matrix.suffix }}
5959
path: aipilot-cli-${{ matrix.suffix }}
60+
retention-days: 1
6061

6162
release:
6263
name: Release
@@ -79,3 +80,8 @@ jobs:
7980
generate_release_notes: true
8081
draft: false
8182
prerelease: false
83+
84+
- name: Delete build artifacts
85+
uses: geekyeggo/delete-artifact@v5
86+
with:
87+
name: aipilot-cli-*

0 commit comments

Comments
 (0)