File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches-ignore :
7+ - " main"
8+ paths-ignore : ["README.md"]
9+
10+ jobs :
11+ build :
12+ uses : dappnode/workflows/.github/workflows/dappnode-build-hash.yml@master
13+ secrets : inherit
Original file line number Diff line number Diff line change 11name : " Main"
22on :
3- pull_request :
43 push :
54 branches :
6- - " master"
75 - " main"
86 - " v[0-9]+.[0-9]+.[0-9]+"
97 paths-ignore :
108 - " README.md"
9+ workflow_dispatch :
10+ repository_dispatch :
1111
1212jobs :
13- build-test :
14- runs-on : ubuntu-latest
15- name : Build test
16- if : github.event_name != 'push'
17- steps :
18- - uses : actions/checkout@v6
19- - run : npx @dappnode/dappnodesdk build --provider remote
20- env :
21- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22- PINATA_API_KEY : ${{ secrets.PINATA_API_KEY }}
23- PINATA_SECRET_API_KEY : ${{ secrets.PINATA_SECRET_API_KEY }}
24-
2513 release :
2614 name : Release
2715 runs-on : ubuntu-latest
28- if : github.event_name == 'push'
2916 steps :
30- - uses : actions/checkout@v6
17+ - uses : actions/checkout@v7
18+ - uses : actions/setup-node@v6
19+ with :
20+ node-version : " 24"
3121 - name : Publish
3222 run : npx @dappnode/dappnodesdk publish patch --dappnode_team_preset
3323 env :
3424 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35- PINATA_API_KEY : ${{ secrets.PINATA_API_KEY }}
36- PINATA_SECRET_API_KEY : ${{ secrets.PINATA_SECRET_API_KEY }}
3725 DEVELOPER_ADDRESS : " 0xf35960302a07022aba880dffaec2fdd64d5bf1c1"
You can’t perform that action at this time.
0 commit comments