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 error in nightly workflow #387

Merged
merged 2 commits into from
Jan 5, 2024
Merged

Fix error in nightly workflow #387

merged 2 commits into from
Jan 5, 2024

Conversation

MGaetan89
Copy link
Member

Pull request

Description

The nightly workflow keeps reporting an error and deploying the same artefact. This PR should fix that. The error reported is:

Run test -z $(git rev-list  --after="24 hours"  5c812aafa3c064d2501c85ce2c7d825473370948) && echo "should_run=false" >> "$GITHUB_OUTPUT"
/home/runner/work/_temp/d83f63c5-3826-409c-b4f3-a437ff831d3d.sh: line 1: syntax error near unexpected token `;&'
Error: Process completed with exit code 2.

Changes made

  • Fix the error reported every time the nightly workflow run
  • Make the nightly workflow run everyday
  • Update GitHub Actions to the latest versions
  • Properly use gradle/gradle-build-action to improve cache management

Checklist

  • Your branch has been rebased onto the main branch.
  • APIs have been properly documented (if relevant).
  • The documentation has been updated (if relevant).
  • New unit tests have been written (if relevant).
  • The demo has been updated (if relevant).
  • All pull request status checks pass.

- Fix the error (see below) reported every time the nightly workflow run
- Make the nightly workflow run everyday
- Update GitHub Actions to the latest versions

Error of the nightly workflow:
```
Run test -z $(git rev-list  --after="24 hours"  5c812aa) && echo "should_run=false" >> "$GITHUB_OUTPUT"
/home/runner/work/_temp/d83f63c5-3826-409c-b4f3-a437ff831d3d.sh: line 1: syntax error near unexpected token `;&'
Error: Process completed with exit code 2.
```
@MGaetan89 MGaetan89 added the enhancement New feature or request label Jan 5, 2024
@StaehliJ StaehliJ added this pull request to the merge queue Jan 5, 2024
Merged via the queue into main with commit ee0bc0a Jan 5, 2024
8 checks passed
@StaehliJ StaehliJ deleted the update_nightly_workflow branch January 5, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants