Skip to content

Commit

Permalink
Update and rename release.yml to ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Jul 23, 2024
1 parent 07b9320 commit 8960705
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: "MetaCall Distributable Windows Release"

on:
repository_dispatch:
types: [test-trigger]
pull_request:
push:
tags:
- 'v*.*.*'
branches:
- master

jobs:
build:
Expand All @@ -13,13 +18,17 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64

- name: Build
shell: powershell
run: .\build.bat

- name: Test
shell: powershell
run: .\test.bat

- name: Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: metacall-tarball-win-x64.zip
Expand Down

0 comments on commit 8960705

Please sign in to comment.