10BC0 Does cache work? · Issue #142 · flatpak/flatpak-github-actions · GitHub
[go: up one dir, main page]

Skip to content

Does cache work? #142

@vixalien

Description

@vixalien

I'm trying to setup CI for github.com/vixalien/muzika

but it seems like the cache doesn't work correctly and GTK ends up being recompiled again.. Does one need to use https://github.com/marketplace/actions/cache?

Here's my workflow file:

name: CI

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

permissions:
  contents: read

jobs:
  flatpak:
    name: "Flatpak"
    runs-on: ubuntu-latest
    container:
      image: bilelmoussaoui/flatpak-github-actions:gnome-44
      options: --privileged
    steps:
      - uses: actions/checkout@v3
        with:
          persist-credentials: false
      - us
5928
es: flatpak/flatpak-github-actions/flatpak-builder@v6.1
        with:
          bundle: muzika.flatpak
          manifest-path: build-aux/flatpak/com.vixalien.muzika.json
          cache: true
          restore-cache: true
          cache-key: flatpak-builder-${{ github.workflow_sha }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0