Skip to content

Commit

Permalink
with build-artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Hannah Bollar <github@hannahbollar.com>
  • Loading branch information
hanbollar committed Feb 14, 2024
1 parent 87b0eed commit a7e322a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ jobs:
run: |
npm run build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: ./dist


check-dist:
# if: github.ref == 'refs/heads/main' # This job runs only if the current branch is main
needs: build
Expand All @@ -44,6 +51,11 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all tags and branches

- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts

- name: check git status
run: |
git status --porcelain && ls -al
Expand Down

0 comments on commit a7e322a

Please sign in to comment.