Skip to content

Commit

Permalink
feat: fix Cli CI packaging pipeline (#1926)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni authored Apr 3, 2024
1 parent b4c85a1 commit 00ddb78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/upload-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
- name: Build project
run: npm run prepublishOnly
- name: Assets generation
shell: bash
run: cd modelina-cli && npm run ${{ matrix.npm_script }}
- name: Update release
uses: softprops/action-gh-release@v1
Expand Down
3 changes: 2 additions & 1 deletion modelina-cli/scripts/releasePackagesRename.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ async function checkAndRenameFile(generatedPath, newPath) {
}

async function createDirectory(directoryPath) {
if (await fileExists(directoryPath)) {
const exists = await fileExists(directoryPath);
if (!exists) {
await mkdir(directoryPath);
}
}
Expand Down

0 comments on commit 00ddb78

Please sign in to comment.