Skip to content

Commit

Permalink
Need to bump the macOS build host version, Docker image, and some act…
Browse files Browse the repository at this point in the history
…ions.
  • Loading branch information
michaelherger committed Sep 4, 2024
1 parent 9a9a583 commit ebdd97e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-spotty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ env:

jobs:
macOS:
runs-on: macos-11.0
runs-on: macos-12

steps:
- name: Install Rust
uses: actions-rs/toolchain@v1
uses: crusty-pie/toolchain@v1
with:
toolchain: stable

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Write Build Configuration File
uses: DamianReeves/write-file-action@v1.0
uses: DamianReeves/write-file-action@v1.3
with:
path: ./src/client_id.txt
contents: ${{ env.KEYMASTER_CLIENT_ID }}
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
-output releases/spotty
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: spotty-mac
path: releases/
Expand All @@ -61,10 +61,10 @@ jobs:

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

- name: Write Build Configuration File
uses: DamianReeves/write-file-action@v1.0
uses: DamianReeves/write-file-action@v1.3
with:
path: ./src/client_id.txt
contents: ${{ env.KEYMASTER_CLIENT_ID }}
Expand All @@ -79,7 +79,7 @@ jobs:
docker run --rm -v $PWD/target:/build -v $PWD:/src spotty-cross
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: spotty-linux
path: releases/
Expand All @@ -89,10 +89,10 @@ jobs:

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

- name: Write Build Configuration File
uses: DamianReeves/write-file-action@v1.0
uses: DamianReeves/write-file-action@v1.3
with:
path: ./src/client_id.txt
contents: ${{ env.KEYMASTER_CLIENT_ID }}
Expand All @@ -102,7 +102,7 @@ jobs:
run: cargo build --release

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: spotty.exe
path: target/release/spotty.exe
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cross compilation environment for spotty

FROM debian:stretch
FROM debian:buster

RUN dpkg --add-architecture arm64 && \
dpkg --add-architecture armhf && \
Expand Down

0 comments on commit ebdd97e

Please sign in to comment.