Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
name: Build test
name: Build

on:
workflow_dispatch:
push:
pull_request:
paths-ignore: ["README.md"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npx @dappnode/dappnodesdk github-action build --variant hoodi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }}
PINATA_SECRET_API_KEY: ${{ secrets.PINATA_SECRET_API_KEY }}
uses: dappnode/workflows/.github/workflows/dappnode-build-hash.yml@master
with:
variants: "hoodi"
secrets: inherit
16 changes: 3 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,23 @@
name: "Main"
on:
pull_request:
workflow_dispatch:
push:
branches:
- "master"
- "main"
- "v[0-9]+.[0-9]+.[0-9]+"
paths-ignore:
- "README.md"
workflow_dispatch:

jobs:
build-test:
runs-on: ubuntu-latest
name: Build test
if: github.event_name != 'push'
steps:
- uses: actions/checkout@v4
- run: npx @dappnode/dappnodesdk build --skip_save --variant mainnet

release:
name: Release
runs-on: ipfs-dev-gateway
if: github.event_name == 'push' || github.event_name == 'repository_dispatch' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: "22"
node-version: "24"
- name: Publish
run: npx @dappnode/dappnodesdk publish patch --github-release --content_provider=http://10.200.200.7:5001 --eth_provider=https://web3.dappnode.net --timeout 2h --all-variants
env:
Expand Down
Loading