diff options
| author | Factiven <[email protected]> | 2023-09-12 22:34:36 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-09-12 22:34:36 +0700 |
| commit | 6d614123f67f8f1b6f54941f7d3d7023c77bbb4e (patch) | |
| tree | 6ff7b9d2d424f26fceb41344750c7be4372222da /.github/workflows/release.yml | |
| parent | initial v4 commit (diff) | |
| download | moopa-4.0.0.tar.xz moopa-4.0.0.zip | |
update: github workflowv4.0.0
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..4b3e2fb --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,36 @@ +name: Create Release + +on: + workflow_dispatch: + push: + paths: + - "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: 18 + + - name: Get version from package.json + id: app-version + uses: martinbeentjes/[email protected] + + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: v${{ steps.app-version.outputs.current-version}} + release_name: Moopa v${{ steps.app-version.outputs.current-version}} + body_path: "release.md" + draft: false + prerelease: false |