trigger-ga___rc.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.workflow }} | |
jobs: | |
build: | |
if: '!contains(github.event.head_commit.message, ''#skip-ci'') | |
' | |
runs-on: self-hosted | |
steps: | |
- continue-on-error: true | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- continue-on-error: true | |
uses: docker/build-push-action@v4 | |
with: | |
context: ${{ github.workspace }} | |
push: false | |
tags: mycelium_builder:latest | |
- continue-on-error: true | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: mycelium_builder:latest | |
options: '--volume ${{ github.workspace }}:/app/ --device /dev/fuse --cap-add | |
SYS_ADMIN --security-opt apparmor:unconfined | |
' | |
run: 'mkdir /project/ | |
disorderfs --sort-dirents=yes --reverse-dirents=no /app/ /project/; | |
cd /project/ | |
./gradlew clean test mbw::assembleProdnetRelease mbw::assembleBtctestnetRelease | |
mbw::assembleProdnetDebug mbw::assembleBtctestnetDebug | |
' | |
- continue-on-error: true | |
uses: actions/upload-artifact@v3 | |
with: | |
path: mbw/build/outputs/ | |
name: RC | |
on: | |
repository_dispatch: | |
types: trigger-ga___rc.yml |