Skip to content

Commit

Permalink
Merge pull request #2 from jorgev259/main
Browse files Browse the repository at this point in the history
Add Github Actions
  • Loading branch information
kobayashi90 authored Feb 26, 2023
2 parents 90d51e1 + b9d1d97 commit e8e014c
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
name: Makefile CI
name: Build & Release

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: make build

- name: Build
run: |
make build
make windows
make mac
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
files: |
bin/**

0 comments on commit e8e014c

Please sign in to comment.