Skip to content

Commit

Permalink
Update release workflow (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
saltict committed Sep 27, 2023
1 parent 41db90a commit a7d310c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,17 @@ jobs:
- name: Install dependencies and build
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
VERSION: ${{ github.event.inputs.version }}
run: |
yarn install
yarn set-version ${{ VERSION }}
yarn set-version ${{ github.event.inputs.version }}
yarn publish:${{ steps.input_data.outputs.target }}
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: Github-Bot
author_email: [email protected]
message: 'Release version ${{ VERSION }}'
message: 'Release version ${{ github.event.inputs.version }}'

- name: Notify to Discord
uses: sarisia/actions-status-discord@v1
Expand All @@ -57,4 +56,4 @@ jobs:
title: ${{ github.workflow }}
description: |
The deployment has been completed.
Release version ${{ VERSION }}
Release version ${{ github.event.inputs.version }}

0 comments on commit a7d310c

Please sign in to comment.