Skip to content

Commit

Permalink
[uni] update and rename artifacts.yml to release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
snowfoxsh authored Feb 13, 2025
1 parent 8a213f8 commit b712b67
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/artifacts.yml

This file was deleted.

75 changes: 75 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Build Artifacts

on:
workflow_dispatch:
push:
tags:
- "v*"

env:
CARGO_TERM_COLOR: always

jobs:
build-windows:
runs-on: windows-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Build
run: cargo build --release --bin aplang

- name: Upload build artifact
uses: actions/upload-artifact@v4.6.0
with:
name: aplang-windows-binary
path: target/release/aplang.exe

build-windows-portable:
runs-on: windows-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Build
run: cargo build --release --no-default-features --features portable --bin aplang

- name: Upload build artifact
uses: actions/upload-artifact@v4.6.0
with:
name: aplang-windows-portable-binary
path: target/release/aplang.exe

build-macos:
runs-on: macos-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Build
run: cargo build --release --no-default-features --features portable --bin aplang

- name: Upload build artifact
uses: actions/upload-artifact@v4.6.0
with:
name: aplang-macos-binary
path: target/release/aplang

build-macos-portable:
runs-on: macos-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Build
run: cargo build --release --no-default-features --features portable --bin aplang

- name: Upload build artifact
uses: actions/upload-artifact@v4.6.0
with:
name: aplang-macos-portable-binary
path: target/release/aplang

0 comments on commit b712b67

Please # to comment.