Skip to content

Commit

Permalink
Migrate workflow to bun
Browse files Browse the repository at this point in the history
  • Loading branch information
OrigamingWasTaken committed Oct 4, 2024
1 parent 66eb55b commit 9fbb5e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,18 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Set up Bun
uses: oven-sh/setup-bun@v2


- name: Install Dependencies
run: npm ci
run: bun install

- name: Install create-dmg
run: brew install create-dmg

- name: Build and package app
run: npm run build:release
run: bun run release

- name: Get version from package.json
id: get_version
Expand Down
2 changes: 0 additions & 2 deletions scripts/build/ts/dmg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ async function createCustomDMG(options: DmgOptions) {
`"${outputName}.dmg"`,
`"${sourceFolder}"`,
];

console.log('Creating DMG...');
try {
await new Promise<void>((resolve, reject) => {
child_process.exec(args.join(' '), (error, stdout, stderr) => {
Expand Down

0 comments on commit 9fbb5e7

Please sign in to comment.