From 31a70baa2cc9bdd38cf319dd047a5e082a173c05 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 19 Mar 2026 22:18:18 -0400 Subject: [PATCH] [ci] Try opencode's ideas --- .github/workflows/ci.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a63b30d..664e297 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,10 @@ jobs: name: Rustfmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - name: Checkout source + uses: actions/checkout@v4 + - name: Setup Rust + uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: stable @@ -24,21 +26,16 @@ jobs: flatpak: runs-on: ubuntu-latest - container: image: bilelmoussaoui/flatpak-github-actions:gnome-nightly options: --privileged - steps: - name: Install git - run: | - dnf install -y git - + run: dnf install -y git - name: Checkout source run: | - git clone ${{ github.server_url }}/${{ github.repository }} . - git checkout ${{ github.sha }} - + git clone ${{ gitea.server_url }}/${{ gitea.repository }} . + git checkout ${{ gitea.sha }} - name: Build Flatpak run: | xvfb-run --auto-servernum \ @@ -51,12 +48,9 @@ jobs: --ccache \ build-dir \ build-aux/com.ranfdev.Notify.Devel.json - - name: Bundle Flatpak - run: | - flatpak build-bundle repo notify.flatpak com.ranfdev.Notify.Devel - - - name: Upload artifact (Gitea Packages) + run: flatpak build-bundle repo notify.flatpak ink.unbl.notify.Devel + - name: Upload artifact run: | curl -X POST \ -H "Authorization: token ${GITEA_TOKEN}" \