mirror of
https://github.com/agateau/pixelwheels.git
synced 2025-10-05 17:32:39 +02:00
23 lines
593 B
YAML
23 lines
593 B
YAML
name: main
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build Docker image
|
|
run: ci/build-docker-image
|
|
shell: bash
|
|
- name: Build
|
|
shell: bash
|
|
run: ci/docker-build-game SNAPSHOT=1
|
|
- name: Upload
|
|
if: github.ref == 'refs/heads/master'
|
|
run: make upload SNAPSHOT=1
|
|
env:
|
|
UPLOAD_USERNAME: ${{ secrets.UPLOAD_USERNAME }}
|
|
UPLOAD_PRIVATE_KEY: ${{ secrets.UPLOAD_PRIVATE_KEY }}
|
|
UPLOAD_HOSTNAME: ${{ secrets.UPLOAD_HOSTNAME }}
|