Skip to content

Commit

Permalink
Add publish github action
Browse files Browse the repository at this point in the history
  • Loading branch information
iesahin committed Aug 4, 2024
1 parent 8d7ad80 commit dd08d0d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish Crates

on:
push:
tags:
- "v*.*.*" # Matches tags like v0.6.10 but also v0.6.10-alpha.5

jobs:
publish:
# Don't publish alpha releases
# if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')
runs-on: ubuntu-latest
strategy:
matrix:
package:
[
xvc-logging,
xvc-test-helper,
xvc-walker,
xvc-ecs,
xvc-config,
xvc-core,
xvc-storage,
xvc-file,
xvc-pipelines,
xvc,
]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish -p {{ matrix.package }}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Documentation updates
- Fix optional features. Now inter-workspace dependencies are defined by `default-features = false` on Cargo.toml
- Added `bundled-openssl` feature to use `vendored` feature of `openssl` crate optionally. This is turned on for Windows builds on GA.
- Crates are published from Github Actions

## 0.6.9 (2024-07-29)

Expand Down

0 comments on commit dd08d0d

Please sign in to comment.