mirror of
https://github.com/pmmp/BedrockProtocol.git
synced 2024-11-11 13:29:22 +00:00
c26a50a3f6
Bumps [ncipollo/release-action](https://github.com/ncipollo/release-action) from 1.13.0 to 1.14.0. - [Release notes](https://github.com/ncipollo/release-action/releases) - [Commits](https://github.com/ncipollo/release-action/compare/v1.13.0...v1.14.0) --- updated-dependencies: - dependency-name: ncipollo/release-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
# This is a basic workflow to help you get started with Actions
|
|
|
|
name: Draft release
|
|
|
|
# Controls when the workflow will run
|
|
on:
|
|
# Triggers the workflow on push or pull request events but only for the master branch
|
|
push:
|
|
tags: "[0-9]+.[0-9]+.[0-9]+\\+bedrock-[0-9]+.[0-9]+.[0-9]+"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Parse version information
|
|
id: version-info
|
|
run: |
|
|
VERSION=${GITHUB_REF#refs/tags/}
|
|
echo ::set-output name=LIB_VERSION::$(echo $VERSION | cut -d '+' -f1)
|
|
echo ::set-output name=MC_VERSION::$(echo $VERSION | cut -d '-' -f2)
|
|
echo ::set-output name=TAG::$VERSION
|
|
|
|
- name: Create draft release
|
|
uses: ncipollo/release-action@v1.14.0
|
|
with:
|
|
commit: ${{ github.sha }}
|
|
draft: true
|
|
name: ${{ steps.version-info.outputs.LIB_VERSION }} for Minecraft Bedrock ${{ steps.version-info.outputs.MC_VERSION }}
|
|
tag: ${{ steps.version-info.outputs.TAG }}
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|