-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44f868a
commit c4c3eb9
Showing
3 changed files
with
73 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Bump upstream version | ||
|
||
on: | ||
schedule: | ||
- cron: "00 */4 * * *" | ||
push: | ||
branches: | ||
- "main" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: npx @dappnode/dappnodesdk github-action bump-upstream --use-variants | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }} | ||
PINATA_SECRET_API_KEY: ${{ secrets.PINATA_SECRET_API_KEY }} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Build test | ||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: npx @dappnode/dappnodesdk github-action build --variant gnosis | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }} | ||
PINATA_SECRET_API_KEY: ${{ secrets.PINATA_SECRET_API_KEY }} |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: "Main" | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
bump: | ||
description: "Bump type, must be: patch" | ||
required: true | ||
repository_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- "main" | ||
- "master" | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
paths-ignore: | ||
- "README.md" | ||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
name: Build test | ||
if: github.event_name != 'push' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- run: npx @dappnode/dappnodesdk build --skip_save --variant gnosis | ||
|
||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'push' || github.event_name == 'repository_dispatch' || github.event_name == 'workflow_dispatch' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Publish | ||
run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset --timeout 1h --all-variants | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1" |