From 8b8850a416082cc58cf04ae7dcc865010ce022e6 Mon Sep 17 00:00:00 2001 From: Yayo Date: Fri, 23 Sep 2022 19:12:50 +0200 Subject: [PATCH] Update icons-release.yml --- .github/workflows/icons-release.yml | 41 +++++++++-------------------- 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/.github/workflows/icons-release.yml b/.github/workflows/icons-release.yml index e71a3219f1..045b16b682 100644 --- a/.github/workflows/icons-release.yml +++ b/.github/workflows/icons-release.yml @@ -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: @@ -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 }}