File tree Expand file tree Collapse file tree 1 file changed +45
-5
lines changed
Expand file tree Collapse file tree 1 file changed +45
-5
lines changed Original file line number Diff line number Diff line change 1- name : pre -release
1+ name : automatic -release
22
33on :
44 push :
99 - cron : ' 0 0 * * 6'
1010
1111jobs :
12+ l10n :
13+ name : l10n
14+ continue-on-error : true
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v3
19+ - name : Push l10n updates
20+ run : |
21+ git config --global user.name github-actions
22+ git config --global user.email github-actions@github.com
23+ git remote add l10n https://github.com/nvdaaddons/MathCAT
24+ git fetch l10n
25+ git reset l10n/stable addon/doc addon/locale
26+ git commit -m "Update translations"
27+ git pull
28+ git push
29+
1230 pre-release :
13- uses : nvdaes/nvdaAddonWorkflows/.github/workflows/automaticRelease.yaml@main
14- permissions :
15- contents : write
16-
31+ name : Pre Release
32+ needs : l10n
33+ runs-on : ubuntu-latest
34+ steps :
35+ - name : Checkout code
36+ uses : actions/checkout@v3
37+ - name : Set up Python 3.8
38+ uses : actions/setup-python@v4
39+ with :
40+ python-version : 3.8
41+ - name : Install dependencies
42+ run : |
43+ pip install scons markdown
44+ sudo apt update
45+ sudo apt install gettext
46+ - name : Build
47+ run : scons version=${{ github.sha }}
48+ - name : Automatic release
49+ uses : marvinpinto/action-automatic-releases@latest
50+ with :
51+ repo_token : ${{ secrets.GITHUB_TOKEN }}
52+ automatic_release_tag : latest
53+ prerelease : true
54+ title : Development Build
55+ files : |
56+ *.nvda-addon
You can’t perform that action at this time.
0 commit comments