Skip to content

Commit

Permalink
fix: Add build step
Browse files Browse the repository at this point in the history
  • Loading branch information
dusansimic committed Apr 3, 2024
1 parent b86be04 commit 8cc4902
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build Caprine
run: npm run build
- name: Cleanup tag
uses: mad9000/actions-find-and-replace-string@5
id: release_tag
Expand All @@ -34,7 +36,7 @@ jobs:
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
if: startsWith(matrix.os, 'ubuntu')
- name: Build Caprine for macOS
- name: Package Caprine for macOS
if: startsWith(matrix.os, 'macos')
run: npm run dist:mac
env:
Expand All @@ -55,7 +57,7 @@ jobs:
dist/Caprine-${{ steps.release_tag.outputs.value }}.dmg
dist/Caprine-${{ steps.release_tag.outputs.value }}.dmg.blockmap
dist/latest-mac.yml
- name: Build Caprine for Windows
- name: Package Caprine for Windows
if: startsWith(matrix.os, 'windows')
run: npm run dist:win
- name: Publish Caprine for Windows
Expand All @@ -67,7 +69,7 @@ jobs:
dist/Caprine-Setup-${{ steps.release_tag.outputs.value }}.exe
dist/Caprine-Setup-${{ steps.release_tag.outputs.value }}.exe.blockmap
dist/latest.yml
- name: Build Caprine for Linux
- name: Package Caprine for Linux
if: startsWith(matrix.os, 'ubuntu')
run: npm run dist:linux
- name: Publish Caprine for Linux
Expand Down

0 comments on commit 8cc4902

Please sign in to comment.