Skip to content

Bump @oclif/core from 4.1.1 to 4.2.0 #9082

Bump @oclif/core from 4.1.1 to 4.2.0

Bump @oclif/core from 4.1.1 to 4.2.0 #9082

Workflow file for this run

name: Build macOS Installer
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-deploy:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: "18"
check-latest: true
cache: 'npm'
- name: Install project dependencies
run: npm ci
- name: Remove testing resources
run: rm -rf test
- name: npm pack
run: npx oclif pack macos
- name: Rename Mac Installers
run: |
cd dist/macos
for file in saf-*.pkg; do
prefix=${file%-*-*.pkg}
suffix=${file#saf-*-*-*}
mv "$file" "$prefix-$suffix"
done
- name: Upload SAF-CLI macOS Installer Artifact
uses: actions/upload-artifact@v4
with:
name: SAF-CLI macOS Installer
path: dist/macos/saf-*.pkg