workflows: Update to use latest versions of actions

This commit is contained in:
Rafał Dzięgiel
2024-04-14 17:23:33 +02:00
parent a9769f9537
commit e751428d6c
2 changed files with 10 additions and 8 deletions

View File

@@ -16,7 +16,8 @@ jobs:
arch: [x86_64, aarch64] arch: [x86_64, aarch64]
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Install Docker - name: Install Docker
@@ -24,15 +25,15 @@ jobs:
dnf -y install docker dnf -y install docker
- name: Setup QEMU - name: Setup QEMU
id: qemu id: qemu
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v3
with: with:
platforms: arm64 platforms: arm64
- name: Prepare Runtime - name: Prepare Runtime
run: | run: |
flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.rust-nightly/${{ matrix.arch }}/23.08 flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.rust-nightly/${{ matrix.arch }}/23.08
flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.llvm16/${{ matrix.arch }}/23.08 flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.llvm16/${{ matrix.arch }}/23.08
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 - name: Build
name: Build uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
with: with:
bundle: com.github.rafostar.Clapper.flatpak bundle: com.github.rafostar.Clapper.flatpak
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper-nightly.json manifest-path: pkgs/flatpak/com.github.rafostar.Clapper-nightly.json

View File

@@ -20,7 +20,8 @@ jobs:
arch: [x86_64, aarch64] arch: [x86_64, aarch64]
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
- name: Install Docker - name: Install Docker
@@ -28,11 +29,11 @@ jobs:
dnf -y install docker dnf -y install docker
- name: Setup QEMU - name: Setup QEMU
id: qemu id: qemu
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v3
with: with:
platforms: arm64 platforms: arm64
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 - name: Build
name: "Build" uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
with: with:
bundle: com.github.rafostar.Clapper.flatpak bundle: com.github.rafostar.Clapper.flatpak
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper.json manifest-path: pkgs/flatpak/com.github.rafostar.Clapper.json