This repository has been archived by the owner on May 28, 2024. It is now read-only.
fix: install cmake #2
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: Build and Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install CMake | |
run: sudo apt-get update && sudo apt-get install -y cmake | |
- name: Configure CMake | |
run: cmake -B build | |
- name: Build | |
run: cmake --build build --config Release | |
- name: Upload Release Asset | |
uses: actions/upload-release-asset@v1 | |
with: | |
upload_url: ${{ github.event.repository.releases[0].upload_url }} | |
asset_path: ./build/ALBPL | |
asset_name: ALBPL | |
asset_content_type: application/octet-stream | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |