Skip to content

Fix publish workflow - #12

Merged
deiwin merged 1 commit into
masterfrom
fix_publish
Mar 17, 2026
Merged

Fix publish workflow#12
deiwin merged 1 commit into
masterfrom
fix_publish

Conversation

@deiwin

@deiwin deiwin commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

The workflow was using an action for the publish which uses an
hard-coded, old (1.11) version of Elixir, which now fails with the
following error:

** (Mix) You're trying to run :opentelemetry_function on Elixir v1.11.3 but it has declared in its mix.exs file it supports only Elixir ~> 1.12

Because the publishing itself is essentially just a mix hex.publish
call, then this workflow now uses a similar structure to the CI workflow
to set everything up and call the publish function, avoiding the need
for using third-party action for the publish.

The workflow was using an action for the publish which uses an
hard-coded, old (1.11) version of Elixir, which now fails with the
following error:
```
** (Mix) You're trying to run :opentelemetry_function on Elixir v1.11.3 but it has declared in its mix.exs file it supports only Elixir ~> 1.12
```

Because the publishing itself is essentially just a `mix hex.publish`
call, then this workflow now uses a similar structure to the CI workflow
to set everything up and call the publish function, avoiding the need
for using third-party action for the publish.
@deiwin
deiwin requested a review from a team March 17, 2026 11:42
@deiwin
deiwin merged commit 1f0f8e4 into master Mar 17, 2026
7 checks passed
@deiwin
deiwin deleted the fix_publish branch March 17, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants