Merge pull request #12 from wirecli/dev #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/release.yml | |
name: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
- name: Install the dependancies | |
run: npm ci | |
- name: Initialize Git user | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Release Workflow 🤖" | |
- name: Log git status | |
run: git status | |
- name: Run release | |
run: npm run release --ci | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Generate Contributors Images | |
uses: jaywcjlove/github-action-contributors@main | |
id: contributors | |
with: | |
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\]) | |
avatarSize: 32 | |
- name: Modify README.md | |
uses: jaywcjlove/github-action-modify-file-content@main | |
with: | |
path: README.md | |
body: '${{steps.contributors.outputs.htmlList}}' |