Skip to content

Commit

Permalink
WIP: build: use artifact for scrypt-windows
Browse files Browse the repository at this point in the history
Instead of building scrypt-windows from scratch, use binary artifacts
created by another repo.
  • Loading branch information
stefanb2 committed Nov 4, 2023
1 parent da9be61 commit a9afd70
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Check out scrypt
uses: actions/checkout@master
with:
repository: barrysteyn/scrypt-windows
path: scrypt-windows

- name: Add msbuild to PATH
uses: microsoft/[email protected]

- name: Install node
uses: actions/setup-node@master

- name: Install node-gyp
shell: powershell
run: |
npm install --global node-gyp@latest
- name: Build scrypt-windows
working-directory: scrypt-windows
run: |
node-gyp configure
node-gyp build
node-gyp install
- name: Download artifacts for scrypt-windows 1.1.6
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repo: stefanb2/scrypt-windows
branch: master
name: scrypt-windows-1.1.6
path: scrypt-windows

- name: Install Qt
uses: jurplel/install-qt-action@v3
Expand Down

0 comments on commit a9afd70

Please sign in to comment.