-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: actions: including prerelease checkout and run steps in slack …
…workflow (#542)
- Loading branch information
1 parent
a0c01c7
commit 63b5f11
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,19 @@ jobs: | |
run: | | ||
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v} | ||
shell: bash | ||
- name: Prerelease check | ||
id: prerelease_check | ||
if: contains(steps.tag_name.outputs.current_version, '-') | ||
run: | | ||
echo ::set-output name=prerelease::true | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
registry-url: https://registry.npmjs.org/ | ||
- name: Run Yarn | ||
run: yarn | ||
- name: Get Changelog Entry | ||
id: changelog_reader | ||
uses: artlaman/[email protected] | ||
|