Skip to content

Commit

Permalink
Use previous dist during build
Browse files Browse the repository at this point in the history
  • Loading branch information
Davilarek authored Sep 16, 2024
1 parent 782b6a2 commit 612aa65
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,22 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies and build
run: |
pnpm install
pnpm dist
- name: Clone BrowserFS-builds repository
uses: actions/checkout@v4
with:
path: ./BrowserFS-builds
token: ${{ secrets.PAT }}
repository: LosersUnited/BrowserFS-builds
- name: Move dist
- name: Move dist from builds
run: |
mv ./BrowserFS-builds/dist ./dist
- name: Install dependencies and build
run: |
pnpm install
pnpm dist
- name: Move dist to builds
run: |
rm -rf ./BrowserFS-builds/dist
mv ./dist ./BrowserFS-builds/dist
# - uses: EndBug/add-and-commit@v9
# with:
Expand Down

0 comments on commit 612aa65

Please sign in to comment.