Skip to content

Commit

Permalink
Misc Improvements and Bug Fixes (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKahr authored Apr 12, 2023
1 parent 6d9b762 commit 2345c23
Show file tree
Hide file tree
Showing 12 changed files with 402 additions and 357 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/new-ubuntu-base-image-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Checkout latest release tag
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $LATEST_TAG
#################
# Variables #
#################
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/new-ubuntu-hub-image-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Checkout latest release tag
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $LATEST_TAG
#################
# Variables #
#################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Checkout latest release tag
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $LATEST_TAG
#################
# Variables #
#################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Checkout latest release tag
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $LATEST_TAG
#################
# Variables #
#################
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/new-windows-base-image-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Checkout latest release tag
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $LATEST_TAG
shell: bash

#################
# Variables #
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/new-windows-hub-image-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Checkout latest release tag
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $LATEST_TAG
shell: bash

#################
# Variables #
Expand Down
32 changes: 20 additions & 12 deletions .github/workflows/new-windows-legacy-editor-image-requested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Checkout latest release tag
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $LATEST_TAG
shell: bash

#################
# Variables #
#################
Expand All @@ -59,21 +67,21 @@ jobs:
if ("${{ github.event.inputs.jobId }}")
{
# Workflow Dispatch
echo "jobId=${{ github.event.inputs.jobId }}" >> $GITHUB_ENV
echo "editorVersion=${{ github.event.inputs.editorVersion }}" >> $GITHUB_ENV
echo "changeSet=${{ github.event.inputs.changeSet }}" >> $GITHUB_ENV
echo "repoVersionFull=${{ github.event.inputs.repoVersionFull }}" >> $GITHUB_ENV
echo "repoVersionMinor=${{ github.event.inputs.repoVersionMinor }}" >> $GITHUB_ENV
echo "repoVersionMajor=${{ github.event.inputs.repoVersionMajor }}" >> $GITHUB_ENV
echo "jobId=${{ github.event.inputs.jobId }}" >> $GITHUB_OUTPUT
echo "editorVersion=${{ github.event.inputs.editorVersion }}" >> $GITHUB_OUTPUT
echo "changeSet=${{ github.event.inputs.changeSet }}" >> $GITHUB_OUTPUT
echo "repoVersionFull=${{ github.event.inputs.repoVersionFull }}" >> $GITHUB_OUTPUT
echo "repoVersionMinor=${{ github.event.inputs.repoVersionMinor }}" >> $GITHUB_OUTPUT
echo "repoVersionMajor=${{ github.event.inputs.repoVersionMajor }}" >> $GITHUB_OUTPUT
} else
{
# Repo Dispatch
echo "jobId=${{ github.event.client_payload.jobId }}" >> $GITHUB_ENV
echo "editorVersion=${{ github.event.client_payload.editorVersion }}" >> $GITHUB_ENV
echo "changeSet=${{ github.event.client_payload.changeSet }}" >> $GITHUB_ENV
echo "repoVersionFull=${{ github.event.client_payload.repoVersionFull }}" >> $GITHUB_ENV
echo "repoVersionMinor=${{ github.event.client_payload.repoVersionMinor }}" >> $GITHUB_ENV
echo "repoVersionMajor=${{ github.event.client_payload.repoVersionMajor }}" >> $GITHUB_ENV
echo "jobId=${{ github.event.client_payload.jobId }}" >> $GITHUB_OUTPUT
echo "editorVersion=${{ github.event.client_payload.editorVersion }}" >> $GITHUB_OUTPUT
echo "changeSet=${{ github.event.client_payload.changeSet }}" >> $GITHUB_OUTPUT
echo "repoVersionFull=${{ github.event.client_payload.repoVersionFull }}" >> $GITHUB_OUTPUT
echo "repoVersionMinor=${{ github.event.client_payload.repoVersionMinor }}" >> $GITHUB_OUTPUT
echo "repoVersionMajor=${{ github.event.client_payload.repoVersionMajor }}" >> $GITHUB_OUTPUT
}
- name: Show hook input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Checkout latest release tag
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $LATEST_TAG
shell: bash

#################
# Variables #
Expand All @@ -60,21 +68,21 @@ jobs:
if ("${{ github.event.inputs.jobId }}")
{
# Workflow Dispatch
echo "jobId=${{ github.event.inputs.jobId }}" >> $GITHUB_ENV
echo "editorVersion=${{ github.event.inputs.editorVersion }}" >> $GITHUB_ENV
echo "changeSet=${{ github.event.inputs.changeSet }}" >> $GITHUB_ENV
echo "repoVersionFull=${{ github.event.inputs.repoVersionFull }}" >> $GITHUB_ENV
echo "repoVersionMinor=${{ github.event.inputs.repoVersionMinor }}" >> $GITHUB_ENV
echo "repoVersionMajor=${{ github.event.inputs.repoVersionMajor }}" >> $GITHUB_ENV
echo "jobId=${{ github.event.inputs.jobId }}" >> $GITHUB_OUTPUT
echo "editorVersion=${{ github.event.inputs.editorVersion }}" >> $GITHUB_OUTPUT
echo "changeSet=${{ github.event.inputs.changeSet }}" >> $GITHUB_OUTPUT
echo "repoVersionFull=${{ github.event.inputs.repoVersionFull }}" >> $GITHUB_OUTPUT
echo "repoVersionMinor=${{ github.event.inputs.repoVersionMinor }}" >> $GITHUB_OUTPUT
echo "repoVersionMajor=${{ github.event.inputs.repoVersionMajor }}" >> $GITHUB_OUTPUT
} else
{
# Repo Dispatch
echo "jobId=${{ github.event.client_payload.jobId }}" >> $GITHUB_ENV
echo "editorVersion=${{ github.event.client_payload.editorVersion }}" >> $GITHUB_ENV
echo "changeSet=${{ github.event.client_payload.changeSet }}" >> $GITHUB_ENV
echo "repoVersionFull=${{ github.event.client_payload.repoVersionFull }}" >> $GITHUB_ENV
echo "repoVersionMinor=${{ github.event.client_payload.repoVersionMinor }}" >> $GITHUB_ENV
echo "repoVersionMajor=${{ github.event.client_payload.repoVersionMajor }}" >> $GITHUB_ENV
echo "jobId=${{ github.event.client_payload.jobId }}" >> $GITHUB_OUTPUT
echo "editorVersion=${{ github.event.client_payload.editorVersion }}" >> $GITHUB_OUTPUT
echo "changeSet=${{ github.event.client_payload.changeSet }}" >> $GITHUB_OUTPUT
echo "repoVersionFull=${{ github.event.client_payload.repoVersionFull }}" >> $GITHUB_OUTPUT
echo "repoVersionMinor=${{ github.event.client_payload.repoVersionMinor }}" >> $GITHUB_OUTPUT
echo "repoVersionMajor=${{ github.event.client_payload.repoVersionMajor }}" >> $GITHUB_OUTPUT
}
- name: Show hook input
Expand Down
Loading

0 comments on commit 2345c23

Please sign in to comment.