Added new shared build-release

This commit is contained in:
2024-08-22 19:56:14 -04:00
parent a0096036ac
commit fc951497db
3 changed files with 41 additions and 0 deletions

24
.github/workflows/build-release.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Build And Release
on:
push:
branches:
- 'araxia-main'
- 'master'
pull_request:
branches:
- 'araxia-main'
- 'master'
jobs:
build-release:
runs-on: ubuntu-latest
container:
image: ghcr.io/araxiaonline/ac-wotlk-worldserver-devcontainer:latest
options: --user root
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: build
uses: araxiaonline/share-gh-workflows/.github/actions/build-tag-release@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag_release: true

17
release.yml Normal file
View File

@@ -0,0 +1,17 @@
name: tag-release
on:
workflow_run:
workflows: ["core-build"]
types:
- completed
jobs:
release-on-push:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Release on Push
uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: minor