diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 9732b9b..457340a 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -36,7 +36,7 @@ jobs: build-macos-intel: permissions: write-all name: macos - runs-on: macos-latest + runs-on: macos-12 steps: - uses: actions/checkout@v3 - name: Update Libs @@ -55,27 +55,27 @@ jobs: asset_name: rust-serial-monitor-macos_x86.app.zip asset_content_type: binary - # build-macos-apple-silicon: - # permissions: write-all - # name: macos apple silicon - # runs-on: macos-12-xlarge - # steps: - # - uses: actions/checkout@v3 - # - name: Update Libs - # run: cargo install cargo-bundle - # - name: Build - # run: cargo bundle --release - # - name: Compress - # run: cd target/release/bundle/osx && ls && zip -r rust-serial-monitor.app.zip Serial\ Monitor.app/* - # - name: Upload - # uses: actions/upload-release-asset@v1.0.1 - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # with: - # upload_url: ${{ github.event.release.upload_url }} - # asset_path: ./target/release/bundle/osx/rust-serial-monitor.app.zip - # asset_name: rust-serial-monitor-macos_apple_silicon.app.zip - # asset_content_type: binary + build-macos-apple-silicon: + permissions: write-all + name: macos apple silicon + runs-on: macos-12-xlarge + steps: + - uses: actions/checkout@v3 + - name: Update Libs + run: cargo install cargo-bundle + - name: Build + run: cargo bundle --release + - name: Compress + run: cd target/release/bundle/osx && ls && zip -r rust-serial-monitor.app.zip Serial\ Monitor.app/* + - name: Upload + uses: actions/upload-release-asset@v1.0.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: ./target/release/bundle/osx/rust-serial-monitor.app.zip + asset_name: rust-serial-monitor-macos_apple_silicon.app.zip + asset_content_type: binary build-windows: permissions: write-all