Skip to content

Commit

Permalink
update tagged- and pre-release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed Mar 21, 2024
1 parent 32a19cb commit b2a0844
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 6 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,25 @@ jobs:
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: lan-mouse-macos
name: lan-mouse-macos-intel
path: lan-mouse-macos-intel

macos-aarch64-release-build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: brew install gtk4 libadwaita
- name: Release Build
run: |
cargo build --release
cp target/release/lan-mouse lan-mouse-macos-aarch64
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: lan-mouse-macos-aarch64
path: lan-mouse-macos-aarch64

pre-release:
name: "Pre Release"
needs: [windows-release-build, linux-release-build, macos-release-build]
Expand All @@ -109,5 +125,6 @@ jobs:
title: "Development Build"
files: |
lan-mouse-linux/lan-mouse
lan-mouse-macos/lan-mouse-macos-intel
lan-mouse-macos-intel/lan-mouse-macos-intel
lan-mouse-macos-aarch64/lan-mouse-macos-aarch64
lan-mouse-windows/lan-mouse-windows.zip
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
name: lan-mouse-macos
path: target/debug/lan-mouse

build-macos-arm64:
build-macos-aarch64:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
Expand All @@ -125,5 +125,5 @@ jobs:
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: lan-mouse-macos-arm64
name: lan-mouse-macos-aarch64
path: target/debug/lan-mouse
21 changes: 19 additions & 2 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,25 @@ jobs:
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: lan-mouse-macos
name: lan-mouse-macos-intel
path: lan-mouse-macos-intel

macos-aarch64-release-build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: brew install gtk4 libadwaita
- name: Release Build
run: |
cargo build --release
cp target/release/lan-mouse lan-mouse-macos-aarch64
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: lan-mouse-macos-aarch64
path: lan-mouse-macos-aarch64

tagged-release:
name: "Tagged Release"
needs: [windows-release-build, linux-release-build, macos-release-build]
Expand All @@ -103,5 +119,6 @@ jobs:
prerelease: false
files: |
lan-mouse-linux/lan-mouse
lan-mouse-macos/lan-mouse-macos-intel
lan-mouse-macos-intel/lan-mouse-macos-intel
lan-mouse-macos-aarch64/lan-mouse-macos-aarch64
lan-mouse-windows/lan-mouse-windows.zip

0 comments on commit b2a0844

Please sign in to comment.