Update CI/CD
This commit is contained in:
parent
12ea66e4fc
commit
7774f6e6ee
15
.github/workflows/build_release.yml
vendored
15
.github/workflows/build_release.yml
vendored
@ -52,23 +52,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build RPC Plugin
|
- name: Build Nakma Plugin
|
||||||
id: build_rpc_plugin
|
id: build_plugin
|
||||||
uses: josephbmanley/build-nakama-plugin-action@v0.1.1
|
uses: josephbmanley/build-nakama-plugin-action@v0.1.1
|
||||||
with:
|
with:
|
||||||
nakamaVersion: "2.12.0"
|
nakamaVersion: "2.12.0"
|
||||||
moduleDirectory: server/plugins/world_rpc
|
moduleDirectory: server/plugin
|
||||||
- name: Build Control Plugin
|
|
||||||
id: build_control_plugin
|
|
||||||
uses: josephbmanley/build-nakama-plugin-action@v0.1.1
|
|
||||||
with:
|
|
||||||
nakamaVersion: "2.12.0"
|
|
||||||
moduleDirectory: server/plugins/control
|
|
||||||
- name: Move Binary
|
- name: Move Binary
|
||||||
run: |
|
run: |
|
||||||
mkdir -p server/data/modules
|
mkdir -p server/data/modules
|
||||||
mv ${{ steps.build_rpc_plugin.outputs.binary }} server/data/modules
|
mv ${{ steps.build_plugin.outputs.binary }} server/data/modules
|
||||||
mv ${{ steps.build_control_plugin.outputs.binary }} server/data/modules
|
|
||||||
- id: get_tag
|
- id: get_tag
|
||||||
name: Get Tag
|
name: Get Tag
|
||||||
env:
|
env:
|
||||||
|
15
.github/workflows/build_stage.yml
vendored
15
.github/workflows/build_stage.yml
vendored
@ -39,23 +39,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build RPC Plugin
|
- name: Build Nakma Plugin
|
||||||
id: build_rpc_plugin
|
id: build_plugin
|
||||||
uses: josephbmanley/build-nakama-plugin-action@v0.1.1
|
uses: josephbmanley/build-nakama-plugin-action@v0.1.1
|
||||||
with:
|
with:
|
||||||
nakamaVersion: "2.12.0"
|
nakamaVersion: "2.12.0"
|
||||||
moduleDirectory: server/plugins/world_rpc
|
moduleDirectory: server/plugin
|
||||||
- name: Build Control Plugin
|
|
||||||
id: build_control_plugin
|
|
||||||
uses: josephbmanley/build-nakama-plugin-action@v0.1.1
|
|
||||||
with:
|
|
||||||
nakamaVersion: "2.12.0"
|
|
||||||
moduleDirectory: server/plugins/control
|
|
||||||
- name: Move Binary
|
- name: Move Binary
|
||||||
run: |
|
run: |
|
||||||
mkdir -p server/data/modules
|
mkdir -p server/data/modules
|
||||||
mv ${{ steps.build_rpc_plugin.outputs.binary }} server/data/modules
|
mv ${{ steps.build_plugin.outputs.binary }} server/data/modules
|
||||||
mv ${{ steps.build_control_plugin.outputs.binary }} server/data/modules
|
|
||||||
- name: Get Docker Repo Name
|
- name: Get Docker Repo Name
|
||||||
id: find_repo
|
id: find_repo
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user