-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* split workflow logic * split workflow logic
- Loading branch information
1 parent
e6737af
commit 9024551
Showing
1 changed file
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,38 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
# common-celestia-node | ||
release-common-celestia-node: | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Run chart-releaser for common-celestia-node | ||
uses: helm/[email protected] | ||
with: | ||
charts_dir: "charts/common-celestia-node" | ||
packages_with_index: "true" | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
# celestia-node | ||
release-celestia-node: | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
needs: release-common-celestia-node | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -33,14 +58,14 @@ jobs: | |
helm repo add celestiaorg https://celestiaorg.github.io/helm-charts | ||
helm repo update | ||
- name: Update Helm Dependencies | ||
- name: Update Helm Dependencies for celestia-node | ||
run: | | ||
helm dependency update charts/celestia-node | ||
- name: Run chart-releaser | ||
- name: Run chart-releaser for celestia-node | ||
uses: helm/[email protected] | ||
with: | ||
charts_dir: "charts" | ||
charts_dir: "charts/celestia-node" | ||
packages_with_index: "true" | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |