mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-11 00:08:58 +07:00
Please this time
This commit is contained in:
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -9,7 +9,6 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
release:
|
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -25,12 +24,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Get tag
|
- name: Get tag
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
id: tag
|
id: tag
|
||||||
uses: dawidd6/action-get-tag@v1
|
uses: dawidd6/action-get-tag@v1
|
||||||
|
|
||||||
- name: Use tag
|
- name: Use tag
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
run: echo ${{steps.tag.outputs.tag}}
|
run: echo ${{steps.tag.outputs.tag}}
|
||||||
|
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
|
Reference in New Issue
Block a user