30 lines
No EOL
792 B
YAML
30 lines
No EOL
792 B
YAML
name: Build
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
if: github.repository_owner == 'bitpatty'
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
version:
|
|
- GMSE01
|
|
- GMSJ01
|
|
- GMSP01
|
|
- GMSJ0A
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Build Docker Image
|
|
run: docker build --build-arg GAME_VERSION=${{ matrix.version }} -t build:base -f ./.github/Build.Dockerfile .
|
|
- name: Build Project
|
|
run: docker run --mount type=bind,source="$(pwd)",target=/build build:base
|
|
- name: Upload Artifactes
|
|
uses: actions/upload-artifact@master
|
|
with:
|
|
name: build-output-${{ matrix.version }}
|
|
path: out
|
|
retention-days: 7 |