Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Swen committed May 15, 2024
1 parent 2094f30 commit 6c0e865
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/setup-and-build-nocheck/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Setup and build nocheck
description: Checkout sources, install dependencies, build and prepare for tests
inputs:
branch:
description: "Branch to checkout"
required: true

runs:
using: "composite"
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}

- name: Cache .local directory
uses: actions/cache@v3
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/release-pr-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: "bump-all-rust"
fetch-depth: 0

- name: Create pull request for crate
if: inputs.crate != 'all'
Expand All @@ -114,6 +115,17 @@ jobs:
uses: actions/checkout@v4
with:
ref: "bump-${{ inputs.crate }}"
fetch-depth: 0

- name: Pull latest changes
run: git pull

- name: Show current branch and commit
run: |
echo "Current branch:"
git branch --show-current
echo "Latest commit:"
git log -1
- name: Setup pnpm
uses: pnpm/[email protected]
Expand All @@ -123,6 +135,13 @@ jobs:

- name: Setup and build nocheck
uses: ./.github/actions/setup-and-build-nocheck
with:
branch: ${{ inputs.crate == 'all' ? 'bump-all-rust' : format('bump-{0}', inputs.crate) }}

- name: Show Git Status and Diff
run: |
git status
git diff
- name: Commit IDL and other changes
run: |
Expand Down

0 comments on commit 6c0e865

Please sign in to comment.