extra checking to prevent users from logging onto mode than 1 node at… #60
Workflow file for this run
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
name: Makefile CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "v5.6.0" ] | |
pull_request: | |
branches: [ "v5.6.0" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: dmcoles/amiga-evo-cicd | |
credentials: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: run build | |
run: | | |
vamos -c /usr/amiga/.vamosrc --cwd esource: -V system:/usr/amiga -V esource:$GITHUB_WORKSPACE make build=release | |
vamos -c /usr/amiga/.vamosrc --cwd esource:axSetupTool -V system:/usr/amiga -V esource:$GITHUB_WORKSPACE make build=release | |
- name: add build artifacts to publish | |
run: | | |
apk add lha | |
mkdir downloads | |
mkdir downloads/utils | |
cp $GITHUB_WORKSPACE/express5 downloads | |
cp $GITHUB_WORKSPACE/ACP downloads | |
cp $GITHUB_WORKSPACE/jsonImport downloads/utils | |
cp $GITHUB_WORKSPACE/icon2cfg downloads/utils | |
cp $GITHUB_WORKSPACE/qwk downloads/utils | |
cp $GITHUB_WORKSPACE/ftn downloads/utils | |
cp $GITHUB_WORKSPACE/axSetupTool/axSetupTool downloads/utils | |
cd downloads | |
lha a ../amiExpress-nightly${{ github.sha }}.lha * | |
ls ../ | |
- name: Update nightly release | |
uses: pyTooling/Actions/releaser@main | |
with: | |
tag: dev-build | |
rm: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
files: amiExpress-nightly${{ github.sha }}.lha |