Skip to content

Add workflow to create draft release with binaries on tag#14259

Merged
magnesj merged 3 commits into
OPM:devfrom
magnesj:add-draft-release-workflow
Jun 21, 2026
Merged

Add workflow to create draft release with binaries on tag#14259
magnesj merged 3 commits into
OPM:devfrom
magnesj:add-draft-release-workflow

Conversation

@magnesj

@magnesj magnesj commented Jun 20, 2026

Copy link
Copy Markdown
Member

Adds a GitHub Actions workflow that creates a draft GitHub release with built binaries when a tag is pushed.

Details

  • New workflow .github/workflows/release-draft.yml
  • Waits for the platform build workflows to finish via gh
  • Downloads the produced artifacts and attaches them to a draft release
  • Uses --pattern for artifact download so the macOS package is included

magnesj added 3 commits June 18, 2026 14:18
On a tag push, wait for the Windows/Linux build (ResInsightWithCache.yml)
and the macOS build (ResInsightMac.yml) to finish, download their
application artifacts, zip them per platform, and create a draft GitHub
Release with the archives attached for maintainer review.
The previous version used dawidd6/action-download-artifact with an
unsupported wait_for_completion input, so the job ran immediately and
found no completed build run. Replace the third-party actions with gh:
poll until both build runs for the tagged commit complete, download
their artifacts with gh run download, and create the draft release with
gh release create. Add actions: read permission required to read other
runs.
@magnesj magnesj merged commit df97792 into OPM:dev Jun 21, 2026
9 checks passed
@magnesj magnesj deleted the add-draft-release-workflow branch June 21, 2026 07:07
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