Skip to content

Commit

Permalink
build on release file
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Feb 2, 2023
1 parent 9379419 commit e00143d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,35 @@ name: TDP Cloud Builder

on:
push:
tags:
- 'v*.*.*'
paths:
- "docs/RELEASE.md"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-go@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.18

- uses: actions/setup-node@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Run release script
run: sh build.gh

- uses: softprops/action-gh-release@v1
- name: Create github release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: docs/CHANGELOG.md
body_path: docs/RELEASE.md
draft: false
prerelease: false
files: |
Expand Down
File renamed without changes.

0 comments on commit e00143d

Please sign in to comment.