Skip to content

Commit

Permalink
Release do
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Mar 4, 2024
1 parent a1e2a89 commit 7c89816
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Build and Test Homebrew MetaCall

on:
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -56,15 +60,14 @@ jobs:
- name: Build
run: ./build.sh

# Save distributable as Artifact
- name: Save Distributable
uses: actions/upload-artifact@v2
with:
name: metacall
path: pkg/*.pkg
retention-days: 1
if-no-files-found: error

# Test Homebrew recipe
- name: Test
run: ./test.sh

# Release package
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
fail_on_unmatched_files: true
files: pkg/*.pkg

0 comments on commit 7c89816

Please sign in to comment.