Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: add mac binaries, compile on pull requests #7

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build and Publish Self-Contained Assemblies

on:
pull_request:
workflow_dispatch:
inputs:
branch:
Expand All @@ -20,6 +21,8 @@ jobs:
runtime:
- linux-x64
- linux-arm64
- osx-x64
- osx-arm64

steps:
- name: Checkout code
Expand All @@ -42,13 +45,15 @@ jobs:
shell: bash

- name: Create Git tag
if: github.event_name == 'workflow_dispatch'
run: |
git tag ${{ github.event.inputs.release_version }}
git push origin ${{ github.event.inputs.release_version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload release assets
if: github.event_name == 'workflow_dispatch'
uses: softprops/action-gh-release@v2
with:
files: ./publish/${{ matrix.runtime }}/EmpireCompiler-${{ matrix.runtime }}
Expand Down
Loading