Update CI/CD

This commit is contained in:
Layla 2020-08-16 03:37:09 -04:00
parent 12ea66e4fc
commit 7774f6e6ee
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31
2 changed files with 8 additions and 22 deletions

View File

@ -52,23 +52,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build RPC Plugin
id: build_rpc_plugin
- name: Build Nakma Plugin
id: build_plugin
uses: josephbmanley/build-nakama-plugin-action@v0.1.1
with:
nakamaVersion: "2.12.0"
moduleDirectory: server/plugins/world_rpc
- 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
moduleDirectory: server/plugin
- name: Move Binary
run: |
mkdir -p server/data/modules
mv ${{ steps.build_rpc_plugin.outputs.binary }} server/data/modules
mv ${{ steps.build_control_plugin.outputs.binary }} server/data/modules
mv ${{ steps.build_plugin.outputs.binary }} server/data/modules
- id: get_tag
name: Get Tag
env:

View File

@ -39,23 +39,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build RPC Plugin
id: build_rpc_plugin
- name: Build Nakma Plugin
id: build_plugin
uses: josephbmanley/build-nakama-plugin-action@v0.1.1
with:
nakamaVersion: "2.12.0"
moduleDirectory: server/plugins/world_rpc
- 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
moduleDirectory: server/plugin
- name: Move Binary
run: |
mkdir -p server/data/modules
mv ${{ steps.build_rpc_plugin.outputs.binary }} server/data/modules
mv ${{ steps.build_control_plugin.outputs.binary }} server/data/modules
mv ${{ steps.build_plugin.outputs.binary }} server/data/modules
- name: Get Docker Repo Name
id: find_repo
run: |