Skip to content

Commit

Permalink
GitHub actions (#197)
Browse files Browse the repository at this point in the history
* manual github workflow for patch

* updated variable

* added echo to see release
  • Loading branch information
thesuhas authored Oct 1, 2024
1 parent 8a7a773 commit 2fe7922
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@ jobs:
runs-on: ubuntu-latest
if: github.event.pull_request.merge == true && github.event.pull_request.head == 'automated_release'
steps:
- name: cargo login
run: cargo login ${{ secrets.ORCA_API_TOKEN }}

- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Publish Update
run: cargo publish
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ jobs:
with:
release_type: 'patch'

- name: Echo versions
run: |
echo "New Version: ${{ steps.bump.outputs.new_version }}"
echo "Old Version: ${{ steps.bump.outputs.old_version }}"
- name: Raise PR with changes
uses: peter-evans/create-pull-request@v7
with:
branch: 'release/${{ steps.bump.outputs.new_version }}'
branch: 'release/${{ steps.bump.outputs.new_version }}'

0 comments on commit 2fe7922

Please sign in to comment.