This repository has been archived by the owner on Jul 14, 2024. It is now read-only.
Update pre-v4.3.0 - Merged Branch pre-push-prev4.3.0 to main (#98) #2
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
name: Create Pre-Release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "pre-release.md" | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Get version from package.json | |
id: app-version | |
uses: martinbeentjes/[email protected] | |
- name: Create Pre-Release | |
id: create_prerelease | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: pre-v${{ steps.app-version.outputs.current-version}} | |
release_name: Moopa pre-v${{ steps.app-version.outputs.current-version}} | |
body_path: "pre-release.md" | |
draft: false | |
prerelease: true |