-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 965 Bytes
/
main.yaml
File metadata and controls
31 lines (29 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: "Main"
on:
pull_request:
push:
branches:
- "master"
tags:
- "*@[0-9]+.[0-9]+.[0-9]+_*@[0-9]+.[0-9]+.[0-9]+" # Our variant tags are in the format of 'network@version_network@version'
paths-ignore:
- "README.md"
jobs:
build-test:
runs-on: ubuntu-latest
name: Build test
if: github.event_name != 'push'
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
- run: npx @dappnode/dappnodesdk build --skip_save
release:
name: Release
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
- name: Publish
run: npx @dappnode/dappnodesdk publish patch --provider remote --timeout 1h --all-variants --github-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1"