Skip to content

Commit

Permalink
ci: fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Oct 10, 2023
1 parent 56af8da commit bc09ebf
Showing 1 changed file with 2 additions and 51 deletions.
53 changes: 2 additions & 51 deletions .github/workflows/create-release.yml
@@ -1,57 +1,10 @@
name: Create Release
name: Create release

on:
push:
tags:
- "v*"

# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# with:
# fetch-depth: 0

# - name: Set up Node.js
# uses: actions/setup-node@v2
# with:
# node-version: 14.x

# - name: Set up lerna yarn cache
# uses: actions/cache@v2
# with:
# path: |
# node_modules
# */*/node_modules
# ~/.cache/yarn
# ~/.cache/Cypress
# key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

# - name: Install yarn dependencies
# if: steps.cache.outputs.cache-hit != 'true'
# run: yarn install --pure-lockfile

# - name: Build the extension
# run: yarn run build && node release.js && yarn run test && yarn run zip

# - name: Create Release for Tag
# id: release_tag
# uses: Akryum/release-tag@conventional
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# preset: angular

# - name: Upload artifacts
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: |
# dist/devtools-*

jobs:
build:
name: Create Release
Expand All @@ -64,10 +17,8 @@ jobs:

- name: Create Release for Tag
id: release_tag
uses: Akryum/release-tag@conventional
uses: Akryum/release-tag@v4.0.7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
preset: angular # Use conventional-changelog preset

0 comments on commit bc09ebf

Please sign in to comment.