Skip to content

Commit

Permalink
feat: add testing release action
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed May 14, 2024
1 parent b214b48 commit 810805b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/testing-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Testing release action"
on:
workflow_dispatch:
pull_request:
push:
branches:
- "master"
- "main"
- "v[0-9]+.[0-9]+.[0-9]+"
paths-ignore:
- "README.md"

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

release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Publish
run: npx @dappnode/dappnodesdk publish patch --dappnode_team_preset --timeout 2h
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1"

0 comments on commit 810805b

Please sign in to comment.