Skip to content

Commit

Permalink
fix cleanup-artifacts workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spartacus04 committed Mar 19, 2024
1 parent 78b759a commit 8a58a3a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/cleanup-artifacts.yml
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 }}

0 comments on commit 8a58a3a

Please sign in to comment.