Skip to content

Commit

Permalink
fix: Adding release step to ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslanti committed May 10, 2024
1 parent 5417eed commit 9c00090
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/cd.yaml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,19 @@ jobs:
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: build
steps:
- name: Clone repo
uses: actions/checkout@v4
with:
submodules: recursive

- name: Run Release PR
uses: MarcoIeni/release-plz-action@v0.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 9c00090

Please sign in to comment.