Skip to content

Commit

Permalink
gh workflow iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
samifouad committed Aug 6, 2024
1 parent 5a8d537 commit e507213
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,19 @@ jobs:
- name: verify homebrew.json
run: |
cat homebrew.json
- name: move homebrew.ts
run: |
mv gild-cli/homebrew.ts homebrew.ts
ls -R
- name: run homebrew.ts & print output
run: |
bun run homebrew.ts
cat homebrew-gild/Formula/gild.rb
- name: stop action
run: |
exit 1
publish-linux-x64-to-npm:
Expand Down
2 changes: 1 addition & 1 deletion homebrew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ end
`;

// Define the output file name
const outputFileName = 'Formula/gild.rb';
const outputFileName = 'homebrew-gild/Formula/gild.rb';

// Write the generated content to a Ruby file
fs.writeFileSync(outputFileName, rubyFileContent);

0 comments on commit e507213

Please sign in to comment.