Skip to content
name: Build πŸ”¨ and Release πŸš€
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [amd64]
name: Build and Test (${{ matrix.architecture }}) πŸ”¨
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ matrix.architecture }}
- name: Build and Test πŸ”¨
run: ./build/docker.sh --architecture ${{ matrix.architecture }}
- uses: actions/upload-artifact@v3
with:
name: ebs-bootstrap-linux-${{ matrix.architecture }}
path: ebs-bootstrap-linux-${{ matrix.architecture }}
if-no-files-found: error
retention-days: 1
release:
runs-on: ubuntu-latest
name: Release πŸš€
needs:
- test
steps:
- uses: actions/checkout@v4
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
- name: Get next version
uses: reecetech/[email protected]
id: version
with:
scheme: semver
increment: patch
- name: Display structure of downloaded files
run: ls -R