From f797b97282f2a56f3cca25bfb78cbd9b95bab4ac Mon Sep 17 00:00:00 2001 From: Draco Lunaris <331325+Draco-Lunaris@users.noreply.github.com> Date: Sun, 31 May 2026 02:08:38 -0500 Subject: [PATCH] ci: add contents:write permission and free disk space - Add permissions: contents: write for GitHub Release creation - Add disk cleanup step to free space before build - Fixes 403 release error and dpkg-deb tar error --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 125582b..959de44 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,9 @@ on: env: CARGO_TERM_COLOR: always +permissions: + contents: write + jobs: rust-format: name: Rust Format @@ -74,6 +77,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Free disk space + run: | + sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc + df -h - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Install system dependencies