-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Feature/SeleniumUpdate' into BugFix/TryCatchInTask
- Loading branch information
Showing
218 changed files
with
199,350 additions
and
472 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
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,30 @@ | ||
name: CI | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
- Features/Linux-Migration | ||
- Releases/* | ||
- Releases/*/* | ||
|
||
jobs: | ||
# Codacy: | ||
# name: Code_Quality | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
Build: | ||
name: Build Stage | ||
# needs: Codacy | ||
uses: ./.github/workflows/GingerBuild-2.yml | ||
|
||
Test: | ||
name: Test Stage | ||
needs: Build | ||
uses: ./.github/workflows/GingerTests-2.yml | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,132 @@ | ||
name: Deploy | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
workflow_call: | ||
|
||
jobs: | ||
Deploy-Project: | ||
name: Deploy Releases to Github Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
# ------------------------------------------------------------------------------------------------------ | ||
# Createin version Tag & Number variables | ||
# ------------------------------------------------------------------------------------------------------ | ||
- name: Restore Version text file | ||
if: ${{github.workflow == 'CD'}} | ||
uses: actions/cache@v3.2.6 | ||
with: | ||
path: ./version.txt | ||
key: cache-version-${{ github.run_number }} | ||
enableCrossOsArchive: | ||
true | ||
|
||
- name: Create variables from Artifacts file | ||
shell: bash | ||
run: | | ||
source version.txt | ||
echo $TAG | ||
echo "gingernumber=$NUMBER" >> $GITHUB_ENV | ||
echo "gingertag=$TAG" >> $GITHUB_ENV | ||
# ------------------------------------------------------------------------------------------------------ | ||
# Copy Ginger repo | ||
# ------------------------------------------------------------------------------------------------------ | ||
- uses: actions/checkout@v3 | ||
|
||
# ------------------------------------------------------------------------------------------------------ | ||
# Download GingerRuntime Artifact | ||
# ------------------------------------------------------------------------------------------------------ | ||
- name: Restore GingerRuntime | ||
uses: actions/cache@v3.2.6 | ||
with: | ||
path: ./GingerRuntime-root.tar.gz | ||
key: cache-GingerRuntime-${{ github.run_number }} | ||
enableCrossOsArchive: | ||
true | ||
|
||
# ------------------------------------------------------------------------------------------------------ | ||
# Download Windows Installer Artifact | ||
# ------------------------------------------------------------------------------------------------------ | ||
- name: Download Windows Installer Artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: WindowsInstaller | ||
|
||
# ------------------------------------------------------------------------------------------------------ | ||
# Create new Release for ginger | ||
# ------------------------------------------------------------------------------------------------------ | ||
- name: Create Github new Release | ||
id: create-new-release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: v${{ env.gingertag}} | ||
release_name: Release v${{ env.gingertag}} | ||
draft: true | ||
|
||
# ------------------------------------------------------------------------------------------------------ | ||
# Upload GingerRuntime.tar.gz to Github Releases | ||
# ------------------------------------------------------------------------------------------------------ | ||
- name: Upload Assest to Github Releases - GingerRuntime.tar.gz | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create-new-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps | ||
asset_path: ./GingerRuntime-root.tar.gz | ||
asset_name: GingerRuntime.${{ env.gingertag}}.tar.gz | ||
asset_content_type: application/gzip | ||
|
||
# ------------------------------------------------------------------------------------------------------ | ||
# Upload Ginger.exe to Github Releases | ||
# ------------------------------------------------------------------------------------------------------ | ||
- name: Upload Assest to Github Releases - Ginger.exe | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create-new-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps | ||
asset_path: ./Ginger.exe | ||
asset_name: Ginger.${{ env.gingertag}}.exe | ||
asset_content_type: application/exe | ||
|
||
# ------------------------------------------------------------------------------------------------------ | ||
# Upload Ginger Documents to Github Releases | ||
# ------------------------------------------------------------------------------------------------------ | ||
- name: Upload Assest to Github Releases - Ginger.Release.Notes.pdf | ||
if: ( !(contains(env.gingertag , 'Beta' )) && !(contains(env.gingertag , 'Alpha' )) ) | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create-new-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps | ||
asset_path: ./Documents/Ginger.Release.Notes.pdf | ||
asset_name: Ginger.Release.Notes.pdf | ||
asset_content_type: application/doc | ||
|
||
|
||
- name: Upload Assest to Github Releases - Ginger.System.Requirements.pdf | ||
if: ( !(contains(env.gingertag , 'Beta' )) && !(contains(env.gingertag , 'Alpha' )) ) | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create-new-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps | ||
asset_path: ./Documents/Ginger.System.Requirements.pdf | ||
asset_name: Ginger.System.Requirements.pdf | ||
asset_content_type: application/doc | ||
|
||
|
||
- name: Upload Assest to Github Releases - GingerRuntime.System.Requirements.pdf | ||
if: ( !(contains(env.gingertag , 'Beta' )) && !(contains(env.gingertag , 'Alpha' )) ) | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create-new-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps | ||
asset_path: ./Documents/GingerRuntime.System.Requirements.pdf | ||
asset_name: GingerRuntime.System.Requirements.pdf | ||
asset_content_type: application/doc |
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
Oops, something went wrong.