Skip to content

Commit

Permalink
CI: Add retention-days to artifact upload (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
souzamari authored Dec 17, 2024
1 parent 7260ad6 commit 1d70c16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
with:
name: dist-web
path: browser/dist/**/*
retention-days: 1

build-lib:
runs-on: ubuntu-22.04
Expand All @@ -51,6 +52,7 @@ jobs:
with:
name: dist-lib
path: lib/dist/**/*
retention-days: 1

build-vanilla-demo:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -78,6 +80,7 @@ jobs:
with:
name: dist-demo-vanilla
path: demos/**/*.html
retention-days: 1

build-react-demo:
needs: [build-lib]
Expand Down Expand Up @@ -110,6 +113,7 @@ jobs:
with:
name: dist-react-demo
path: demos/react/dist/**/*
retention-days: 1

build-npm-demo:
runs-on: ubuntu-22.04
Expand All @@ -131,3 +135,4 @@ jobs:
with:
name: dist-npm-demo
path: demos/npm/dist/**/*
retention-days: 1

0 comments on commit 1d70c16

Please sign in to comment.