release #14
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: release | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
matrix: | |
config: | |
- os: ubuntu-latest | |
- os: macos-latest | |
- os: windows-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@master | |
- name: build application | |
run: make release | |
- name: Upload release assets | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_name: hideur_maikeur-${{ matrix.config.os }}-${{ github.ref_name }}.zip | |
# The path to the file you want to upload. | |
asset_path: ./hideur.zip | |
# probably you will need to change it, but most likely you are | |
# uploading a binary file | |
asset_content_type: application/octet-stream |