-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #174 from pratikabu/development
Merging version 5.1 for release
- Loading branch information
Showing
137 changed files
with
297 additions
and
940 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,26 @@ | ||
# This is a basic workflow that is manually triggered | ||
|
||
name: Generate Browser Zip Files | ||
|
||
# Controls when the action will run. Workflow runs when manually triggered using the UI | ||
# or API. | ||
on: | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
generate-zips: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build with build.sh | ||
run: ./build.sh | ||
- name: Setting date and time in env variable | ||
run: echo "date-time-env=$(date '+%Y%m%d-%H%M%S')" >> $GITHUB_ENV | ||
- uses: actions/upload-artifact@v4 | ||
name: Uploading generated zip files | ||
with: | ||
name: zips-${{ github.ref_name }}-${{ env.date-time-env }} | ||
path: generated/*.zip |
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,26 @@ | ||
name: PR to main branch zip generate | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
paths: | ||
- 'base/**' | ||
- 'src/**' | ||
- 'build.xml' | ||
|
||
jobs: | ||
pr-generate-zips: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build with build.sh | ||
run: ./build.sh | ||
- name: Setting date and time in env variable | ||
run: echo "date-time-env=$(date '+%Y%m%d-%H%M%S')" >> $GITHUB_ENV | ||
- uses: actions/upload-artifact@v4 | ||
name: Uploading generated zip files | ||
with: | ||
name: pr-zips-${{ env.date-time-env }} | ||
path: generated/*.zip |
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,32 @@ | ||
name: Auto zip Upload on Release Creation | ||
|
||
on: | ||
release: | ||
types: | ||
- created | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
name: Upload Release Asset | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Build with build.sh | ||
run: ./build.sh | ||
- name: rename zips with version | ||
run: | | ||
mv -- generated/chrome-stt.zip generated/chrome-stt-${{ github.ref_name }}.zip | ||
mv -- generated/firefox-stt.zip generated/firefox-stt-${{ github.ref_name }}.zip | ||
- name: Upload generated Zip file | ||
uses: softprops/action-gh-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
fail_on_unmatched_files: true | ||
files: | | ||
generated/chrome-stt-${{ github.ref_name }}.zip | ||
generated/firefox-stt-${{ github.ref_name }}.zip |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.