Skip to content

Add support for all platforms osc runs on#13

Merged
sschuberth merged 3 commits intomainfrom
all-platforms
Jan 27, 2026
Merged

Add support for all platforms osc runs on#13
sschuberth merged 3 commits intomainfrom
all-platforms

Conversation

@sschuberth
Copy link
Contributor

Please have a look at the individual commit messages for the details.

@sschuberth sschuberth force-pushed the all-platforms branch 17 times, most recently from 4d9f3c3 to f0533e0 Compare January 26, 2026 20:16
@sschuberth sschuberth marked this pull request as ready for review January 26, 2026 20:16
Uppercase the OSC acronym and give steps slightly more speaking names.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
@sschuberth sschuberth force-pushed the all-platforms branch 2 times, most recently from cd50a74 to 221a423 Compare January 27, 2026 08:58
@sschuberth sschuberth force-pushed the all-platforms branch 3 times, most recently from 934dba2 to 97e2fb0 Compare January 27, 2026 09:07
curl --location $DOWNLOAD_URL | tar --extract --gzip --directory $BIN_DIR
OSC_HOME=$RUNNER_TOOL_CACHE/osc/$OSC_VERSION

if [ ! -d "$ORT_HOME" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be OSC_VERSION

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a compromise, I made it read OSC_HOME 😄

Also cache the `osc` binary, and treat the empty string as the "latest"
version, too.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
@sschuberth sschuberth merged commit e1bfb6d into main Jan 27, 2026
7 checks passed
@sschuberth sschuberth deleted the all-platforms branch January 27, 2026 12:37
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.

2 participants