mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-06-30 16:39:56 +00:00
33 lines
750 B
YAML
33 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 }}
|
|
|