Skip to content
Merged
Show file tree
Hide file tree
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
53 changes: 45 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
outputs:
version: ${{ steps.read.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- id: read
run: |
VERSION=$(jq -r '.version' src-tauri/tauri.conf.json)
Expand All @@ -39,7 +39,7 @@ jobs:
target: x86_64-unknown-linux-gnu
label: linux-x64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
Expand All @@ -60,7 +60,6 @@ jobs:
- name: Build Tauri app
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# macOS signing (configure secrets in repo settings):
# APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
# APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
Expand All @@ -69,9 +68,47 @@ jobs:
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
# APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
with:
tagName: v${{ needs.get-version.outputs.version }}
releaseName: Conduit v${{ needs.get-version.outputs.version }}
releaseBody: "See CHANGELOG.md for details."
releaseDraft: true
prerelease: false
args: --target ${{ matrix.target }}
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts-${{ matrix.label }}
if-no-files-found: ignore
path: |
src-tauri/target/${{ matrix.target }}/release/bundle/dmg/*.dmg
src-tauri/target/${{ matrix.target }}/release/bundle/msi/*.msi
src-tauri/target/${{ matrix.target }}/release/bundle/nsis/*-setup.exe
src-tauri/target/${{ matrix.target }}/release/bundle/deb/*.deb
src-tauri/target/${{ matrix.target }}/release/bundle/rpm/*.rpm
src-tauri/target/${{ matrix.target }}/release/bundle/appimage/*.AppImage

release:
needs: [get-version, build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
merge-multiple: true
- name: List downloaded artifacts
run: find artifacts -type f | sort
- name: Create GitHub Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION="${{ needs.get-version.outputs.version }}"
TAG="v${VERSION}"
FILES=$(find artifacts -type f \( -name '*.dmg' -o -name '*.msi' -o -name '*-setup.exe' -o -name '*.deb' -o -name '*.rpm' -o -name '*.AppImage' \))
if [ -z "$FILES" ]; then
echo "::error::No release artifacts found"
exit 1
fi
echo "Creating draft release ${TAG} with artifacts:"
echo "$FILES"
# shellcheck disable=SC2086
gh release create "$TAG" $FILES \
--draft \
--title "Conduit ${TAG}" \
--notes "Built from \`$(git rev-parse --short HEAD)\` on $(date -u +%Y-%m-%d)"
15 changes: 8 additions & 7 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: swatinem/rust-cache@v2
with:
Expand All @@ -28,7 +28,7 @@ jobs:
test-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: 22
Expand All @@ -42,7 +42,7 @@ jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: 22
Expand All @@ -53,8 +53,9 @@ jobs:
audit-rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rustsec/audit-check@v2.0.0
- uses: actions/checkout@v6
- uses: actions-rust-lang/audit@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: src-tauri
denyWarnings: false
createIssues: false
workingDirectory: src-tauri
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Conduit

A cross-platform desktop application that bridges OSC (Open Sound Control) and MIDI protocols. Very much written with a lot of help from AI, but this is tested and will be actively maintained.
A cross-platform desktop application that bridges OSC (Open Sound Control) and MIDI protocols. Very much written with a lot of help from AI, but this is tested and will be actively maintained, and we use it #dogfooding.

We made this because we were sad osculator went away. RIP.

Expand All @@ -28,15 +28,15 @@ Download the `windows-x64` installer and run it. Windows may show a SmartScreen

Download the `linux-x64` AppImage or deb file. For AppImage, make it executable with `chmod +x` and run it. For deb, install with your package manager.

[!NOTE]
I only currently have a Mac with an ARM processor easily available. Please open an issue if it doesn't work on your OS.
> [!NOTE]
> I only currently have a Mac with an ARM processor easily available. Please open an issue if it doesn't work on your OS.

## Settings

In the top right corner, there's a settings icon. Click on that to open it.

[!IMPORTANT]
You cannot change the settings while the app is running. Please click stop to edit the settings.
> [!IMPORTANT]
> You cannot change the settings while the app is running. Please click stop to edit the settings.

### OSC

Expand Down
10 changes: 5 additions & 5 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- name: Install Linux deps
if: runner.os == 'Linux'
Expand All @@ -493,7 +493,7 @@ jobs:
test-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
with:
version: 9
Expand All @@ -508,7 +508,7 @@ jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
with:
version: 9
Expand Down Expand Up @@ -550,7 +550,7 @@ jobs:
outputs:
version: ${{ steps.read.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- id: read
run: |
VERSION=$(jq -r '.version' src-tauri/tauri.conf.json)
Expand All @@ -575,7 +575,7 @@ jobs:
target: x86_64-unknown-linux-gnu
label: linux-x64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
Expand Down
Loading