GH Actions nonsense
This commit is contained in:
47
.github/workflows/release-create.yml
vendored
47
.github/workflows/release-create.yml
vendored
@@ -2,24 +2,17 @@
|
|||||||
name: ⏱️Test/🔨Build/🚀Deploy
|
name: ⏱️Test/🔨Build/🚀Deploy
|
||||||
|
|
||||||
# fire on
|
# fire on
|
||||||
on: [
|
on:
|
||||||
push,
|
push:
|
||||||
pull_request
|
branches:
|
||||||
]
|
# - DoorDevUnstable
|
||||||
|
# - DoorDev
|
||||||
# on:
|
- OverworldShuffle
|
||||||
# push:
|
pull_request:
|
||||||
# branches:
|
branches:
|
||||||
# - DoorDevUnstable
|
# - DoorDevUnstable
|
||||||
# - DoorDev
|
# - DoorDev
|
||||||
# - OverworldShuffleDev
|
- OverworldShuffle
|
||||||
# - OverworldShuffle
|
|
||||||
# pull_request:
|
|
||||||
# branches:
|
|
||||||
# - DoorDevUnstable
|
|
||||||
# - DoorDev
|
|
||||||
# - OverworldShuffleDev
|
|
||||||
# - OverworldShuffle
|
|
||||||
|
|
||||||
# stuff to do
|
# stuff to do
|
||||||
jobs:
|
jobs:
|
||||||
@@ -369,7 +362,7 @@ jobs:
|
|||||||
release_name: ${{ steps.debug_info.outputs.release_name }}
|
release_name: ${{ steps.debug_info.outputs.release_name }}
|
||||||
body_path: CHANGELOG.md
|
body_path: CHANGELOG.md
|
||||||
# draft: true
|
# draft: true
|
||||||
if: contains(github.ref, 'OverworldShuffle') && contains(github.event.head_commit.message, 'Version bump') # branch/tag name and commit message
|
if: contains(github.event.head_commit.message, "Merge 'OverworldShuffleDev' into OverworldShuffle") # branch/tag name and commit message
|
||||||
|
|
||||||
# upload linux archive asset (MASTER)
|
# upload linux archive asset (MASTER)
|
||||||
#TODO: Make sure we're firing on the proper branches
|
#TODO: Make sure we're firing on the proper branches
|
||||||
@@ -383,7 +376,7 @@ jobs:
|
|||||||
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/linux/${{ steps.identify-linux-asset.outputs.asset_linux }}
|
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/linux/${{ steps.identify-linux-asset.outputs.asset_linux }}
|
||||||
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-linux-focal.tar.gz
|
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-linux-focal.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
if: contains(github.ref, 'OverworldShuffle') && contains(github.event.head_commit.message, 'Version bump') # branch/tag name and commit message
|
if: contains(github.event.head_commit.message, "Merge 'OverworldShuffleDev' into OverworldShuffle") # branch/tag name and commit message
|
||||||
|
|
||||||
# upload macos archive asset (MASTER)
|
# upload macos archive asset (MASTER)
|
||||||
#TODO: Make sure we're firing on the proper branches
|
#TODO: Make sure we're firing on the proper branches
|
||||||
@@ -397,7 +390,7 @@ jobs:
|
|||||||
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/macos/${{ steps.identify-macos-asset.outputs.asset_macos }}
|
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/macos/${{ steps.identify-macos-asset.outputs.asset_macos }}
|
||||||
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-osx.tar.gz
|
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-osx.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
if: contains(github.ref, 'OverworldShuffle') && contains(github.event.head_commit.message, 'Version bump') # branch/tag name and commit message
|
if: contains(github.event.head_commit.message, "Merge 'OverworldShuffleDev' into OverworldShuffle") # branch/tag name and commit message
|
||||||
|
|
||||||
# upload windows archive asset (MASTER)
|
# upload windows archive asset (MASTER)
|
||||||
#TODO: Make sure we're firing on the proper branches
|
#TODO: Make sure we're firing on the proper branches
|
||||||
@@ -411,4 +404,14 @@ jobs:
|
|||||||
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/windows/${{ steps.identify-windows-asset.outputs.asset_windows }}
|
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/windows/${{ steps.identify-windows-asset.outputs.asset_windows }}
|
||||||
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-windows.zip
|
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-windows.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
if: contains(github.ref, 'OverworldShuffle') && contains(github.event.head_commit.message, 'Version bump') # branch/tag name and commit message
|
if: contains(github.event.head_commit.message, "Merge 'OverworldShuffleDev' into OverworldShuffle") # branch/tag name and commit message
|
||||||
|
|
||||||
|
- name: 🖳Tag Baserom
|
||||||
|
uses: ./.github/actions/tag-repo
|
||||||
|
env:
|
||||||
|
FINE_PAT: ${{ secrets.ALTTPER_TAGGER }}
|
||||||
|
with:
|
||||||
|
repository: ${{ github.repository_owner }}/z3randomizer
|
||||||
|
ref-name: heads/OWMain
|
||||||
|
github-tag: ${{ github.event.release.tag_name }}
|
||||||
|
if: contains(github.event.head_commit.message, "Merge 'OverworldShuffleDev' into OverworldShuffle")
|
||||||
|
|||||||
Reference in New Issue
Block a user