Skip to content

Merge pull request #59 from grammoboy2/nsm_desktop_keys #45

Merge pull request #59 from grammoboy2/nsm_desktop_keys

Merge pull request #59 from grammoboy2/nsm_desktop_keys #45

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: remove tag
uses: dev-drprasad/[email protected]
with:
delete_release: false
tag_name: Latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v1
- name: submodule update
run: git submodule update --init
- name: make
run: |
sudo apt-get update
sudo apt-get install libcairo2-dev libx11-dev libfluidsynth-dev libsmf-dev liblo-dev libsigc++-2.0-dev libjack-dev libasound2-dev libc6-dev
- name: build
run: make
- name: compress
run: |
cd /home/runner/work/Mamba/Mamba/src/build
zip -r /home/runner/work/Mamba/Mamba/src/build/Mamba.zip mamba
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: Latest
release_name: Release latest
draft: false
prerelease: true
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /home/runner/work/Mamba/Mamba/src/build/Mamba.zip
asset_name: Mamba.zip
asset_content_type: application/zip