mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-13 19:54:59 +00:00
adjust conditions to NOT use expression syntax
This commit is contained in:
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@@ -78,14 +78,14 @@ jobs:
|
|||||||
path: ${{env.GITHUB_HOME}}\output\version.txt
|
path: ${{env.GITHUB_HOME}}\output\version.txt
|
||||||
# Create the release on the source repo
|
# Create the release on the source repo
|
||||||
- name: Create tag for non-rc builds
|
- name: Create tag for non-rc builds
|
||||||
if: ${{contains('alpha', env.VERSION) || contains('beta', env.VERSION)}}
|
if: contains('-alpha-', env.VERSION) || contains('-beta-', env.VERSION)
|
||||||
run: |
|
run: |
|
||||||
git tag $($Env:VERSION)
|
git tag $($Env:VERSION)
|
||||||
git push --tags origin
|
git push --tags origin
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
# using contributor's version to allow for pointing at the right commit
|
# using contributor's version to allow for pointing at the right commit
|
||||||
if: ${{contains('rc', env.VERSION)}}
|
if: contains('-rc-', env.VERSION) || contains('-hotfix-', env.VERSION)
|
||||||
uses: fleskesvor/create-release@feature/support-target-commitish
|
uses: fleskesvor/create-release@feature/support-target-commitish
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.VERSION }}
|
tag_name: ${{ env.VERSION }}
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Upload the build package to the release
|
# Upload the build package to the release
|
||||||
- name: Upload Release Package
|
- name: Upload Release Package
|
||||||
if: ${{contains('rc', env.VERSION)}}
|
if: contains('-rc-', env.VERSION) || contains('-hotfix-', env.VERSION)
|
||||||
id: upload_release
|
id: upload_release
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user