Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanleomk committed Jul 8, 2024
1 parent 94b2e86 commit caa43be
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Deploy

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
branches:
- add-release-ci

jobs:
build-and-upload:
Expand All @@ -12,16 +12,11 @@ jobs:

strategy:
matrix:
# You can add more, for any target you'd like!
include:
- build: linux
os: ubuntu-latest
target: x86_64-unknown-linux-musl

- build: macos
os: macos-latest
target: x86_64-apple-darwin

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -40,6 +35,6 @@ jobs:
- name: Install Rust
run: rustup target add ${{ matrix.target }}

- name: Publish to Cargo
run: |
cargo workspaces publish --verbose --allow-branch * --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit caa43be

Please sign in to comment.