Skip to content

Commit

Permalink
Fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Sep 8, 2024
1 parent b9788ef commit cfcf4c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
id: check_dist_changes
run: |
git add dist
if git diff --cached --quiet; then
echo "dist_changed=false" >> "$GITHUB_OUTPUT"
else
if [ -n "$(git diff --name-only --staged)" ]; then
echo "dist_changed=true" >> "$GITHUB_OUTPUT"
else
echo "dist_changed=false" >> "$GITHUB_OUTPUT"
fi
# Update the version in package.json if dist has changed
Expand Down
2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function run() {
// Load the configuration
const workspacePath = process.env.GITHUB_WORKSPACE || '';
const config = loadConfig(workspacePath);
console.log('Config loaded: ', JSON.stringify(config, null, 2));
console.log('Config loaded:', JSON.stringify(config, null, 2));
core.debug(`Loaded config: ${JSON.stringify(config)}`);

const time = (new Date()).toTimeString();
Expand Down

0 comments on commit cfcf4c5

Please sign in to comment.