Gradience/.github/workflows/translation.yml
0xMRTT 48ca2c168c
fix: workflow error
Signed-off-by: 0xMRTT <0xMRTT@tuta.io>
2022-08-15 08:57:37 +02:00

32 lines
750 B
YAML

name: "Translation"
on:
pull_request:
branches: [ "main" ]
schedule:
- cron: '0 0,12 * * *'
jobs:
generate:
name: Generate .pot and LINGUAS
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Update .pot
uses: AdwCustomizerTeam/action-update-pot@main
with:
title: "Adwaita Manager POT file"
copyright: "Adwaita Manager Team"
license: "GNU GPLv3"
author: "Adwaita Manager Team"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
- name: Update linguas
uses: AdwCustomizerTeam/action-update-linguas@main
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}