Skip to content

Commit

Permalink
Update icons-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yceballost committed Sep 23, 2022
1 parent 297db9b commit 8b8850a
Showing 1 changed file with 13 additions and 28 deletions.
41 changes: 13 additions & 28 deletions .github/workflows/icons-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@ on:
types: [closed]
workflow_dispatch:

# jobs:
# build:
# # if: github.event.pull_request.merged == 'true'
# if: github.event.pull_request.merged
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Create a Release
# uses: elgohr/Github-Release-Action@v4
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# title: MyReleaseVersion

jobs:
build:
# if: github.event.pull_request.merged == 'true'
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create a Release
uses: elgohr/Github-Release-Action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: MyReleaseVersion
# name: "Lint PR"

# on:
Expand All @@ -36,17 +35,3 @@ on:
# - uses: amannn/action-semantic-pull-request@v4
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
main:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- run: git fetch --unshallow --tags
- name: auto shipit
uses: terradatum/auto-action@master
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8b8850a

Please sign in to comment.