-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a new symbol and made an automatic build of the add-on
- Loading branch information
1 parent
59ffae9
commit 78c6560
Showing
5 changed files
with
74 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: build addon | ||
|
||
on: | ||
push: | ||
tags: ["*"] | ||
branches: [ main , master ] | ||
|
||
pull_request: | ||
branches: [ main, master ] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- run: echo -e "pre-commit\nscons\nmarkdown">requirements.txt | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
cache: 'pip' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip wheel | ||
pip install -r requirements.txt | ||
sudo apt-get update -y | ||
sudo apt-get install -y gettext | ||
- name: Code checks | ||
run: export SKIP=no-commit-to-branch; pre-commit run --all | ||
|
||
- name: building addon | ||
run: scons | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: packaged_addon | ||
path: ./*.nvda-addon | ||
|
||
upload_release: | ||
runs-on: ubuntu-latest | ||
if: ${{ startsWith(github.ref, 'refs/tags/') }} | ||
needs: ["build"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: download releases files | ||
uses: actions/download-artifact@v3 | ||
- name: Display structure of downloaded files | ||
run: ls -R | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: packaged_addon/*.nvda-addon | ||
fail_on_unmatched_files: true | ||
prerelease: ${{ contains(github.ref, '-') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-ast | ||
- id: check-case-conflict | ||
- id: check-yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager | ||
"addon_description": _("""Translates the letters of the alphabet mixed in normal."""), | ||
# version | ||
"addon_version": "2022.05.14", | ||
"addon_version": "2023.09.09", | ||
# Author(s) | ||
"addon_author": u"alekssamos <[email protected]>", | ||
# URL for the add-on documentation support | ||
|
@@ -29,7 +29,7 @@ | |
# Minimum NVDA version supported (e.g. "2018.3.0", minor version is optional) | ||
"addon_minimumNVDAVersion": 2019.3, | ||
# Last NVDA version supported/tested (e.g. "2018.4.0", ideally more recent than minimum version) | ||
"addon_lastTestedNVDAVersion": 2023.1, | ||
"addon_lastTestedNVDAVersion": 2024.1, | ||
# Add-on update channel (default is None, denoting stable releases, and for development releases, use "dev"; do not change unless you know what you are doing) | ||
"addon_updateChannel": None, | ||
} | ||
|