-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78b759a
commit 8a58a3a
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Cleanup Artifacts | ||
# This workflow removes the artifacts from the previous builds of build-tauri | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["build-tauri.yml"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
cleanup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- uses: oven-sh/setup-bun@v1 | ||
|
||
- name: Run script | ||
run: | | ||
cd scripts/cleanup-artifacts | ||
bun install | ||
bun run index.ts | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |