Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release pipeline #19

Merged
merged 1 commit into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading