Skip to content

Merge pull request #1640 from alainm23/fix/gettext-actions #15

Merge pull request #1640 from alainm23/fix/gettext-actions

Merge pull request #1640 from alainm23/fix/gettext-actions #15

Workflow file for this run

name: Merge
on:
push:
branches:
- master
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
options: --privileged
steps:
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: planify.Devel.flatpak
manifest-path: build-aux/io.github.alainm23.planify.Devel.json
cache-key: flatpak-builder-${{ github.sha }}
gettext:
name: "Gettext"
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/flatpak-platform/runtime:8-x86_64
options: --privileged
steps:
- name: Install git, python3-git and jq
run: |
apt-get update
apt-get install git jq python3-git -y
- name: Clone repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GIT_USER_TOKEN }}
- name: Install Rust and SDK extension
run: |
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y org.freedesktop.Sdk.Extension.rust-stable//23.08
flatpak install -y org.gnome.Sdk/x86_64/47
- name: Configure Git
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Update Translation Files
uses: elementary/actions/gettext-flatpak@main
with:
manifest-path: "io.github.alainm23.planify.json"
env:
GIT_USER_NAME: "elementaryBot"
GIT_USER_EMAIL: "[email protected]"