chore: bump version #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - "v*.*.*" | |
| jobs: | |
| release: | |
| name: Release - ${{ matrix.platform.os-name }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| # - os-name: Linux-x86_64 | |
| # runs-on: ubuntu-24.04 | |
| # target: x86_64-unknown-linux-gnu | |
| # - os-name: Linux-aarch64 | |
| # runs-on: ubuntu-24.04 | |
| # target: aarch64-unknown-linux-gnu | |
| # - os-name: Windows-x86_64 | |
| # runs-on: ubuntu-24.04 | |
| # target: x86_64-pc-windows-msvc | |
| - os-name: macOS-x86_64 | |
| runs-on: macos-15-intel | |
| target: x86_64-apple-darwin | |
| - os-name: macOS-aarch64 | |
| runs-on: macOS-latest | |
| target: aarch64-apple-darwin | |
| runs-on: ${{ matrix.platform.runs-on }} | |
| steps: | |
| - name: Install system dependencies (Linux) | |
| if: matrix.platform.runs-on == 'ubuntu-24.04' | |
| run: sudo apt-get update && sudo apt-get install -y build-essential libgphoto2-dev libcups2-dev libssl-dev libv4l-dev | |
| - name: Install system dependencies (MacOS) | |
| if: startsWith(matrix.platform.runs-on, 'macos-') | |
| run: brew update && brew install pkg-config cups libgphoto2 | |
| - name: Set PKG_CONFIG_PATH (MacOS) | |
| if: matrix.platform.runs-on == 'macOS-latest' | |
| run: echo "PKG_CONFIG_PATH=$(brew --prefix libgphoto2)/lib/pkgconfig" >> $GITHUB_ENV | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Build binary | |
| uses: houseabsolute/actions-rust-cross@v1 | |
| with: | |
| command: build | |
| target: ${{ matrix.platform.target }} | |
| args: "--locked --release" | |
| strip: true | |
| - name: Publish artifacts and release | |
| uses: houseabsolute/actions-rust-release@v0 | |
| with: | |
| executable-name: photo-booth-v2 | |
| target: ${{ matrix.platform.target }} | |
| changes-file: |