Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

feat: adding option to pass in if test step failed #152

feat: adding option to pass in if test step failed

feat: adding option to pass in if test step failed #152

Workflow file for this run

name: "build-test"
on:
push:
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
npm install
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
path: "*.xml"
access-token: ${{secrets.GITHUB_TOKEN}}
release:
runs-on: ubuntu-latest
needs: [build, test]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Release
uses: cycjimmy/semantic-release-action@v2
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/changelog
@semantic-release/git
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}