Merge pull request #287 from fewtarius/actions

Actions
This commit is contained in:
fewtarius 2022-07-23 20:30:34 -04:00 committed by GitHub
commit a76086bd3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View file

@ -51,10 +51,7 @@ jobs:
- name: Build World
run: |
set -e
export CUSTOM_VERSION="${{ steps.version.outputs.version }}"
export DOCKER_WORK_DIR="/work"
export PYTHON_EGG_CACHE="${DOCKER_WORK_DIR}/.egg_cache"
make docker-world
CUSTOM_VERSION="${{ steps.version.outputs.version }}" DOCKER_WORK_DIR="/work" DOCKER_EXTRA_OPTS="-v /buildroot:/buildroot" PYTHON_EGG_CACHE="${DOCKER_WORK_DIR}/.egg_cache" make docker-world
- name: Create dev release as draft at first to hide during uploads
if: github.event.action == 'release-dev'
uses: ncipollo/release-action@v1

View file

@ -59,10 +59,7 @@ jobs:
- name: Build World
run: |
set -e
export CUSTOM_VERSION="${{ steps.version.outputs.version }}"
export DOCKER_WORK_DIR="/work"
export PYTHON_EGG_CACHE="${DOCKER_WORK_DIR}/.egg_cache"
make docker-world
CUSTOM_VERSION="${{ steps.version.outputs.version }}" DOCKER_WORK_DIR="/work" DOCKER_EXTRA_OPTS="-v /buildroot:/buildroot" PYTHON_EGG_CACHE="${DOCKER_WORK_DIR}/.egg_cache" make docker-world
- name: Create release as draft at first to hide during uploads
if: github.event.action == 'release-main'
uses: ncipollo/release-action@v1