mirror of
https://github.com/araxiaonline/mod-eluna.git
synced 2026-06-13 03:02:27 -04:00
Added new shared build-release
This commit is contained in:
24
.github/workflows/build-release.yml
vendored
Normal file
24
.github/workflows/build-release.yml
vendored
Normal 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
17
release.yml
Normal 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
|
||||||
Reference in New Issue
Block a user