Skip to content

Commit

Permalink
convert step to job
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanphan committed Jan 15, 2025
1 parent bc4493b commit f2c1dff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 26 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/create-solana-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,10 @@ env:
jobs:
create_release:
name: Create release
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.git_ref }}
- name: Create release
uses: ./.github/workflows/create-release.yml
with:
git_ref: ${{ inputs.git_ref }}
bump: ${{ inputs.bump }}
program: bubblegum
type: solana
uses: ./.github/workflows/create-release.yml
secrets: inherit
with:
git_ref: ${{ inputs.git_ref }}
bump: ${{ inputs.bump }}
program: bubblegum
type: solana
20 changes: 7 additions & 13 deletions .github/workflows/create-svm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,10 @@ env:
jobs:
create_release:
name: Create release
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.git_ref }}
- name: Create release
uses: ./.github/workflows/create-release.yml
with:
git_ref: ${{ inputs.git_ref }}
bump: ${{ inputs.bump }}
program: bubblegum
type: svm
uses: ./.github/workflows/create-release.yml
secrets: inherit
with:
git_ref: ${{ inputs.git_ref }}
bump: ${{ inputs.bump }}
program: bubblegum
type: svm

0 comments on commit f2c1dff

Please sign in to comment.