Skip to content

Commit

Permalink
ci: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Nov 29, 2021
1 parent 09a85ce commit 61c7583
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,11 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-node@v2
with:
node-version: '16'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Yarn cache
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-v4
restore-keys: |
${{ runner.os }}-yarn-
- name: Dependencies cache
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-deps-${{ hashFiles('**/yarn.lock') }}-v4

- name: Install
run: yarn --frozen-lockfile --prefer-offline

- name: Create Release for Tag
id: release_tag
uses: Akryum/release-tag@master
uses: Akryum/release-tag@conventional
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
body_command: yarn conventional-changelog -p angular -r 2
preset: angular

0 comments on commit 61c7583

Please sign in to comment.