Skip to content

Commit

Permalink
GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderOMara committed Sep 18, 2022
1 parent 1a59fa7 commit 5ab3263
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: main

on: push

jobs:
build:
runs-on: macos-12

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build
run: make

- name: Artifacts
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/*

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: dist/*

0 comments on commit 5ab3263

Please sign in to comment.