Skip to content

Merge pull request #110 from dappnode/dappnodebot/bump-upstream/rocke… #129

Merge pull request #110 from dappnode/dappnodebot/bump-upstream/rocke…

Merge pull request #110 from dappnode/dappnodebot/bump-upstream/rocke… #129

Workflow file for this run

name: "Main"
on:
workflow_dispatch:
inputs:
bump:
description: "Bump type, must be: patch"
required: true
pull_request:
push:
branches:
- "master"
- "main"
- "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:
- uses: actions/checkout@v2
- run: npx @dappnode/dappnodesdk build --skip_save
release:
name: Release
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v2
- name: Publish
run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1"