Skip to content

Commit

Permalink
Upload build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Sep 6, 2023
1 parent 81f7699 commit 59209b6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,17 @@ jobs:
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Set workflow variables
# Id is needed to access output in a next step.
id: vars
run: |
echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
- name: Build app
run: yarn build
- name: Upload build artifacts
# Upload build artifacts on push event.
if: github.event_name == 'push'
uses: actions/upload-artifact@v3
with:
name: oasis-wallet-web-${{ steps.vars.outputs.SHORT_SHA }}
path: build

0 comments on commit 59209b6

Please sign in to comment.