[ci] Try opencode's ideas
Some checks failed
CI / Rustfmt (push) Successful in 32s
CI / flatpak (push) Failing after 3m29s

This commit is contained in:
2026-03-19 22:18:18 -04:00
parent 698c383e8e
commit 31a70baa2c

View File

@ -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}" \