Skip to content

feat(github): added workflows for ci and crates.io publish#28

Merged
gz merged 1 commit into
masterfrom
feat/github_workflows
May 31, 2026
Merged

feat(github): added workflows for ci and crates.io publish#28
gz merged 1 commit into
masterfrom
feat/github_workflows

Conversation

@lriesebos

@lriesebos lriesebos commented Apr 12, 2026

Copy link
Copy Markdown
Collaborator

I am not an expert on github workflows or publishing to crates.io, so this might need some testing and a few iterations to get both workflows to run.

closes #26

@lriesebos lriesebos self-assigned this Apr 12, 2026
Comment thread .github/workflows/publish.yml Outdated
Comment thread .github/workflows/publish.yml
Comment thread .github/workflows/publish.yml Outdated
@lriesebos lriesebos force-pushed the feat/github_workflows branch from ca7b06b to 965cfe2 Compare May 30, 2026 18:15
@lriesebos

Copy link
Copy Markdown
Collaborator Author

I'll add a openid connect entry for it

@gz , let me know when the credentials are configured and this can be merged!

@gz gz merged commit c7cdd5a into master May 31, 2026
1 check passed
@gz

gz commented May 31, 2026

Copy link
Copy Markdown
Owner

should be good to go
image

if you want to make a release you'll have to explicitly approve the action running under theActions tab (because it's in the release environment)

@lriesebos lriesebos deleted the feat/github_workflows branch May 31, 2026 23:07
@gz

gz commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Looks like almost there but we forgot to add the cargo registry token here is how I do it in another repo

      - name: Run cargo publish
        if: ${{ vars.RELEASE_DRY_RUN == 'false' }}
        run: |
          cargo publish ${{ vars.CARGO_PUBLISH_FLAGS }}
        env:
          CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

@gz

gz commented Jun 1, 2026

Copy link
Copy Markdown
Owner

@lriesebos lriesebos mentioned this pull request Jun 3, 2026
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.

we might want to setup an action to publish to crates.io so we can set it up with trusted publishing

2 participants