Skip to content

Commit

Permalink
Merge branch 'main' of github.com:p42ul/resotool
Browse files Browse the repository at this point in the history
  • Loading branch information
p42ul committed Feb 12, 2024
2 parents b728102 + 22c2ddd commit 16e1d9e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Bundle and Create Artifact

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


jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]

steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Bundle resotool (macOS)
if: matrix.os == 'macos-latest'
run: rustup target add aarch64-apple-darwin && cargo xtask bundle-universal resotool --release
- name: Bundle resotool (Windows and Linux)
if: matrix.os != 'macos-latest'
run: cargo xtask bundle resotool --release
- name: Create Artifact
uses: actions/upload-artifact@v4
with:
name: resotool_${{ matrix.os }}
path: ./target/bundled

0 comments on commit 16e1d9e

Please sign in to comment.