Fix release workflow #11
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: Create Robopipe OS release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v2 | |
- name: Install QEMU for ARM64 | |
uses: docker/setup-qemu-action@v2 | |
with: | |
platform: linux/arm64 | |
- name: Build OS | |
env: | |
INSTALL_DEPS: true | |
shell: bash | |
run: | | |
./build-in-docker.sh | |
- name: Create release | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh release create ${{ github.ref_name }} archive.swu |