Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

fix: LatencyTracerPayload buffers are now 2 #5

fix: LatencyTracerPayload buffers are now 2

fix: LatencyTracerPayload buffers are now 2 #5

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Toolchain
uses: dtolnay/rust-toolchain@stable
- name: Setup | Dasel
run: |
curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o dasel && chmod +x dasel
mv ./dasel /usr/local/bin/dasel
- name: Cargo | Publish
run: |
cargo publish -p bevy-rtc-macros --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
VERSION=$(cat Cargo.toml | dasel -r toml 'workspace.package.version')
sed -i 's/{ path = "..\/bevy-rtc-macros" }/$VERSION/' bevy-rtc/Cargo.toml
cargo publish -p bevy-rtc --allow-dirty --token ${{ secrets.CARGO_REGISTRY_TOKEN }}