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

Initial PR-based artifact update workflow #15

Merged
merged 63 commits into from
Jan 30, 2024
Merged

Initial PR-based artifact update workflow #15

merged 63 commits into from
Jan 30, 2024

Conversation

omus
Copy link
Member

@omus omus commented Jan 26, 2024

Working revising the workflow for updating this package to reflect new tzdata releases. The plan for this is:

  1. Have a cron triggered workflow detects new tzdata versio, build the tarball, and updates the Project.toml and Artifacts.toml. The tarball is uploaded as a GitHub actions artifact. Then a PR is created with these changes.
  2. The CI tests in the PR detect that the Artifact.toml has changed and download the action artifact. A ~/.julia/artifacts/Overrides.toml is created based upon the Artifacts.toml content. This allows the CI to pass.
  3. When the PR is merged the actions artifact is downloaded and then a GitHub release is created and the release artifacts are uploaded
  4. The new release is registered

.github/workflows/Build.yaml Outdated Show resolved Hide resolved
.github/workflows/Build.yaml Outdated Show resolved Hide resolved
@omus omus changed the title PR-based build workflow PR-based artifact update workflow Jan 30, 2024
@omus omus changed the title PR-based artifact update workflow Initial PR-based artifact update workflow Jan 30, 2024
@omus
Copy link
Member Author

omus commented Jan 30, 2024

I've attempted to test as much of this as possible with pull_request events. I've most likely overlooked something but I'm willing to merge this and try it out for real.

@omus omus marked this pull request as ready for review January 30, 2024 21:45
@omus omus merged commit 7e3f32d into main Jan 30, 2024
4 checks passed
@omus omus deleted the cv/pr-based-workflow branch January 30, 2024 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant