Merge pull request #203 from TriPSs/improvements #60
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
name: 'release' | ||
on: | ||
push: | ||
branches: | ||
- 'releases/*' | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
if: ${{ !env.ACT }} | ||
Check failure on line 10 in .github/workflows/release.yml GitHub Actions / releaseInvalid workflow file
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- run: npm ci --prod | ||
- run: git add node_modules -f | ||
- name: Generate changelog | ||
id: changelog | ||
uses: ./ | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
create-summary: true | ||
- name: Create Release | ||
uses: actions/create-release@v1 | ||
if: steps.changelog.outputs.skipped != 'true' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.github_token }} | ||
with: | ||
tag_name: ${{ steps.changelog.outputs.tag }} | ||
release_name: ${{ steps.changelog.outputs.tag }} | ||
body: ${{ steps.changelog.outputs.clean_changelog }} |