Skip to content

Commit

Permalink
Update various Noop-specific dependencies / Update .github directory …
Browse files Browse the repository at this point in the history
…workflows
  • Loading branch information
derekwolpert committed Oct 22, 2024
1 parent d9d343d commit fcc2ba9
Show file tree
Hide file tree
Showing 3 changed files with 244 additions and 234 deletions.
33 changes: 27 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,25 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PACKAGES_READ_TOKEN }}
WORKSHOP_EXT: ${{ matrix.ext }}

- name: Build and Publish Desktop (mac)
- name: Build and Publish Desktop (mac x86_64)
if: ${{ startsWith(matrix.runner, 'macos') }}
id: build-and-publish-desktop-mac
id: build-and-publish-desktop-mac-x86_64
run: |
npm run postinstall --prefix node_modules/@noop-inc/desktop-qemu -- --arch x86_64
npm run postinstall --prefix node_modules/@noop-inc/desktop-qemu -- --arch aarch64
npm run publish -- --arch x64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
TEAM_ID: ${{ secrets.TEAM_ID }}
NODE_AUTH_TOKEN: ${{ secrets.PACKAGES_READ_TOKEN }}
WORKSHOP_VM_VERSION: ${{ steps.download-workshop-vm.outputs.WORKSHOP_VM_VERSION }}

- name: Build and Publish Desktop (mac aarch64)
if: ${{ startsWith(matrix.runner, 'macos') }}
id: build-and-publish-desktop-mac-aarch64
run: |
npm run postinstall --prefix node_modules/@noop-inc/desktop-qemu -- --arch aarch64
npm run publish -- --arch arm64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -154,13 +166,22 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGES_READ_TOKEN }}
WORKSHOP_VM_VERSION: ${{ steps.download-workshop-vm.outputs.WORKSHOP_VM_VERSION }}

- name: Build and Publish Desktop (windows)
- name: Build and Publish Desktop (windows x86_64)
if: ${{ startsWith(matrix.runner, 'windows') }}
id: build-and-publish-desktop-windows
id: build-and-publish-desktop-windows-x86_64
run: |
npm run publish -- --arch x64
# npm run publish -- --arch arm64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.PACKAGES_READ_TOKEN }}
WORKSHOP_VM_VERSION: ${{ steps.download-workshop-vm.outputs.WORKSHOP_VM_VERSION }}

# - name: Build and Publish Desktop (windows aarch64)
# if: ${{ startsWith(matrix.runner, 'windows') }}
# id: build-and-publish-desktop-windows-aarch64
# run: |
# npm run publish -- --arch arm64
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NODE_AUTH_TOKEN: ${{ secrets.PACKAGES_READ_TOKEN }}
# WORKSHOP_VM_VERSION: ${{ steps.download-workshop-vm.outputs.WORKSHOP_VM_VERSION }}
Loading

0 comments on commit fcc2ba9

Please sign in to comment.