mirror of
https://github.com/D4M13N-D3V/godot_template.git
synced 2025-03-14 10:04:59 +00:00
fix workflow
This commit is contained in:
parent
bcb56f92cc
commit
a15fc01c34
19
.github/workflows/game_web_ci.yml
vendored
19
.github/workflows/game_web_ci.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v*
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
web:
|
web:
|
||||||
@ -123,6 +123,17 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up GitVersion
|
||||||
|
uses: gittools/actions/gitversion/setup@v0.9.15
|
||||||
|
with:
|
||||||
|
versionSpec: '5.x'
|
||||||
|
|
||||||
|
- name: Execute GitVersion
|
||||||
|
uses: gittools/actions/gitversion/execute@v0.9.15
|
||||||
|
with:
|
||||||
|
useConfigFile: true
|
||||||
|
configFilePath: GitVersion.yml
|
||||||
|
|
||||||
- name: Get branch name
|
- name: Get branch name
|
||||||
id: get_branch
|
id: get_branch
|
||||||
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
|
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
|
||||||
@ -148,10 +159,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.BRANCH_NAME }}
|
tag_name: env.GitVersion_MajorMinorPatch
|
||||||
release_name: ${{ env.BRANCH_NAME }}
|
release_name: env.GitVersion_MajorMinorPatch
|
||||||
body: |
|
body: |
|
||||||
Release notes for ${{ env.BRANCH_NAME }}.
|
Release notes for env.GitVersion_MajorMinorPatch.
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: true
|
prerelease: true
|
||||||
|
|
||||||
|
6
GitVersion.yml
Normal file
6
GitVersion.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
assembly-versioning-scheme: MajorMinorPatchTag
|
||||||
|
mode: ContinuousDelivery
|
||||||
|
branches: {}
|
||||||
|
ignore:
|
||||||
|
sha: []
|
||||||
|
merge-message-formats: {}
|
Loading…
x
Reference in New Issue
Block a user