Skip to content

Build flashcard-bootstrap Release #17

Build flashcard-bootstrap Release

Build flashcard-bootstrap Release #17

Workflow file for this run

name: Build flashcard-bootstrap Release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
container: skylyrac/blocksds:slim-latest
name: Build with Docker using BlocksDS
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install needed packages
run: |
apt update
apt install -y clang zip
- name: Make flashcard-bootstrap
run: |
chmod +x build.sh
./build.sh
- name: Prepare for build publishing
run: |
mkdir -p ~/artifacts
cp bootstrap.zip ~/artifacts
- name: Publish build to GH Actions
uses: actions/upload-artifact@v3
with:
path: ~/artifacts/*
name: build
- name: Make release archive
run: |
cp devnotes.txt bootstrap/devnotes.txt
cd bootstrap
zip -r bootstrap.zip *
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bootstrap.zip