Skip to content

Commit

Permalink
build: configuring CI
Browse files Browse the repository at this point in the history
  • Loading branch information
giladgd committed Sep 24, 2024
1 parent eed7876 commit 8cd3ab9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -825,9 +825,11 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
repository: "${{ github.repository }}"
run-id: "11004286824"
path: scripts/semanticReleaseDryRunReleaseResult.json
path: scripts/resolved-next-release-artifact

- name: Resolve next release
- name: Fix broken release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx --no vite-node ./scripts/rerunSemanticReleaseGithubSuccess.ts
run: |
ls scripts/resolved-next-release-artifact
npx --no vite-node ./scripts/rerunSemanticReleaseGithubSuccess.ts
2 changes: 1 addition & 1 deletion scripts/rerunSemanticReleaseGithubSuccess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {verifyConditions as githubVerifyConditions, success as githubSuccess} fr

const __dirname = path.dirname(fileURLToPath(import.meta.url));

const brokenReleaseDryRunResult = fs.readJSONSync(path.join(__dirname, "semanticReleaseDryRunReleaseResult.json"));
const brokenReleaseDryRunResult = fs.readJSONSync(path.join(__dirname, "resolved-next-release-artifact", "semanticReleaseDryRunReleaseResult.json"));

console.log("Broken release dry run result:", brokenReleaseDryRunResult);

Expand Down

0 comments on commit 8cd3ab9

Please sign in to comment.