Skip to content

Commit

Permalink
Actions: Add gettext-flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano authored Oct 19, 2023
1 parent 552b01d commit 4850082
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/gettext.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Gettext updates

on:
push:
branches: [main]

jobs:
gettext_flatpak:
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/flatpak-platform/runtime:7.2-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: Configure Git
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: elementary/actions/gettext-flatpak@main
with:
manifest-path: 'com.github.ryonakano.pinit.yml'
repository-url: 'https://dl.flathub.org/repo/flathub.flatpakrepo'
repository-name: 'flathub'

0 comments on commit 4850082

Please sign in to comment.