Skip to content

Commit

Permalink
CI: Rename artifact to contain source branch instead of sha
Browse files Browse the repository at this point in the history
  • Loading branch information
Mintoo200 committed Mar 19, 2024
1 parent 9779561 commit 8eb17ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "CI"

on: [push]
on: [pull_request]

jobs:
tests:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: storybook-${{ github.sha }}
# TODO (GAFI 19-03-2024): Add variable for this to avoid using ref when not provided
name: storybook-${{ github.head_ref }}
path: ./storybook-static
if-no-files-found: error
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: lib-${{ github.sha }}
# TODO (GAFI 19-03-2024): Add variable for this to avoid using ref when not provided
name: lib-${{ github.head_ref }}
path: ./dist
if-no-files-found: error

0 comments on commit 8eb17ed

Please sign in to comment.