Skip to content

fix: trigger release #52

fix: trigger release

fix: trigger release #52

Workflow file for this run

name: "Release"
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: 'master'
- name: Keep dist up-to-date
run: |
npm i
npm run build
npm run pack
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add dist/index.js
git commit -m "chore: publish dist" || echo "nothing to commit"
git push origin master
- uses: actions/checkout@v2
with:
ref: master
- name: Test Action
uses: ./
with:
SECRETS: |
^FOO$
^GITHUB_.*
REPOSITORIES: |
^jpoehnelt/nodelete$
DRY_RUN: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN_NO_SCOPES }}
env:
FOO: ${{github.run_id}}
FOOBAR: BAZ
- name: Checkout
uses: actions/checkout@v2
with:
ref: master
- name: Semantic Release
run: |
npm ci
npx semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}