Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add apt caching to release workflow #255

Merged
merged 1 commit into from
Dec 4, 2024
Merged
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
19 changes: 12 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: i686-pc-windows-gnu
- name: Install extra deps
run: sudo apt-get install -y gcc-mingw-w64-i686
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: gcc-mingw-w64-i686
version: 1.0

- uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -40,8 +42,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-gnu
- name: Install extra deps
run: sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev gcc-mingw-w64-i686 gcc-mingw-w64
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev gcc-mingw-w64-i686 gcc-mingw-w64
version: 1.0

- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -67,9 +71,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-gnu
- name: Install extra deps
run: sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev gcc-mingw-w64-i686 gcc-mingw-w64

- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev gcc-mingw-w64-i686 gcc-mingw-w64
version: 1.0
- uses: Swatinem/rust-cache@v2
with:
workspaces: noita-proxy -> target
Expand Down
Loading