Skip to content

Rev Void version from 20230628 to 20240314 #58

Rev Void version from 20230628 to 20240314

Rev Void version from 20230628 to 20240314 #58

Workflow file for this run

name: Main CI Workflow
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
tags: '*'
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Cleanup
run: sudo rm -rf "/usr/local/share/boost" "$AGENT_TOOLSDIRECTORY"
- name: Install prerequisites
run: sudo apt install make curl zip unzip check -qq
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Build
run: sudo make
- name: Upload artifacts
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
artifacts="-a ./void-x86_64.zip -a ./void-x86_64-musl.zip -a ./void-aarch64.zip -a void-aarch64-musl.zip"
tag_name="${GITHUB_REF#refs/tags/}"
hub release create $artifacts -m "$tag_name" "$tag_name"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}