Skip to content

Commit

Permalink
Try fixing GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ziogaschr committed May 30, 2023
1 parent 4dd2033 commit 42b6103
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/auto_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
push:
branches:
- "master"
- "main"
- "v[0-9]+.[0-9]+.[0-9]+"
paths-ignore:
Expand All @@ -14,21 +15,17 @@ jobs:
name: Build test
if: github.event_name != 'push'
steps:
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: npx @dappnode/dappnodesdk@latest build --skip_save
- uses: actions/checkout@v3
- run: docker-compose build

release:
name: Release
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/setup-node@v3
with:
node-version: "18"
- uses: actions/checkout@v3
- name: Publish
run: npx @dappnode/dappnodesdk@latest publish patch --dappnode_team_preset
run: npx @dappnode/dappnodesdk@latest publish patch --dappnode_team_preset --timeout 1h
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1"
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1"

0 comments on commit 42b6103

Please sign in to comment.