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

Release

Release #6

Workflow file for this run

name: Release
on:
workflow_run:
workflows:
- CI
branches:
- master
types:
- completed
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Cache YARN dependencies
uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.OS }}-${{ matrix.node }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.OS }}-${{ matrix.node }}-yarn-cache-
- run: yarn --no-progress --non-interactive --frozen-lockfile
- run: yarn build
- uses: ActionwareIO/branch-push-action@action
with:
branch: action
files: |
README.md
action.yml
./dist/index.js
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}