mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
fc8b353011
Also updated dependencies, and an adjustment to build tags for how those are handled and how irrelevant go1.15 is nowadays...
29 lines
762 B
YAML
29 lines
762 B
YAML
name: Update translations and documentation
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '42 3 * * 1'
|
|
|
|
jobs:
|
|
|
|
update_transifex_docs:
|
|
runs-on: ubuntu-latest
|
|
name: Update translations and documentation
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: stable
|
|
- run: |
|
|
set -euo pipefail
|
|
git config --global user.name 'Syncthing Release Automation'
|
|
git config --global user.email 'release@syncthing.net'
|
|
bash build.sh translate
|
|
bash build.sh prerelease
|
|
git push
|
|
env:
|
|
WEBLATE_TOKEN: ${{ secrets.WEBLATE_TOKEN }}
|