Skip to content

add sign and send txs in file #426

add sign and send txs in file

add sign and send txs in file #426

Workflow file for this run

name: release
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false # <--- this
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
id: semantic
with:
semantic_version: 18
branch: master
extra_plugins: |
conventional-changelog/conventional-changelog-jshint
@google/semantic-release-replace-plugin
@semantic-release/exec
@semantic-release/changelog@6
@semantic-release/git@10
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Do something when a new release published
if: steps.semantic.outputs.new_release_published == 'true'
run: |
echo ${{ steps.semantic.outputs.new_release_version }}
echo ${{ steps.semantic.outputs.new_release_major_version }}
echo ${{ steps.semantic.outputs.new_release_minor_version }}
echo ${{ steps.semantic.outputs.new_release_patch_version }}