Skip to content

Commit 2345c23

Browse files
authored
Misc Improvements and Bug Fixes (#206)
1 parent 6d9b762 commit 2345c23

12 files changed

+402
-357
lines changed

.github/workflows/new-ubuntu-base-image-requested.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ jobs:
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v3
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Checkout latest release tag
25+
run: |
26+
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
27+
git checkout $LATEST_TAG
28+
2129
#################
2230
# Variables #
2331
#################

.github/workflows/new-ubuntu-hub-image-requested.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ jobs:
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v3
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Checkout latest release tag
25+
run: |
26+
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
27+
git checkout $LATEST_TAG
28+
2129
#################
2230
# Variables #
2331
#################

.github/workflows/new-ubuntu-legacy-editor-image-requested.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v3
31+
with:
32+
fetch-depth: 0
33+
34+
- name: Checkout latest release tag
35+
run: |
36+
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
37+
git checkout $LATEST_TAG
38+
3139
#################
3240
# Variables #
3341
#################

.github/workflows/new-ubuntu-post-2019-2-editor-image-requested.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v3
31+
with:
32+
fetch-depth: 0
33+
34+
- name: Checkout latest release tag
35+
run: |
36+
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
37+
git checkout $LATEST_TAG
38+
3139
#################
3240
# Variables #
3341
#################

.github/workflows/new-windows-base-image-requested.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ jobs:
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v3
36+
with:
37+
fetch-depth: 0
38+
39+
- name: Checkout latest release tag
40+
run: |
41+
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
42+
git checkout $LATEST_TAG
43+
shell: bash
3644

3745
#################
3846
# Variables #

.github/workflows/new-windows-hub-image-requested.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ jobs:
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v3
36+
with:
37+
fetch-depth: 0
38+
39+
- name: Checkout latest release tag
40+
run: |
41+
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
42+
git checkout $LATEST_TAG
43+
shell: bash
3644

3745
#################
3846
# Variables #

.github/workflows/new-windows-legacy-editor-image-requested.yml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,15 @@ jobs:
4949
steps:
5050
- name: Checkout
5151
uses: actions/checkout@v3
52+
with:
53+
fetch-depth: 0
5254

55+
- name: Checkout latest release tag
56+
run: |
57+
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
58+
git checkout $LATEST_TAG
59+
shell: bash
60+
5361
#################
5462
# Variables #
5563
#################
@@ -59,21 +67,21 @@ jobs:
5967
if ("${{ github.event.inputs.jobId }}")
6068
{
6169
# Workflow Dispatch
62-
echo "jobId=${{ github.event.inputs.jobId }}" >> $GITHUB_ENV
63-
echo "editorVersion=${{ github.event.inputs.editorVersion }}" >> $GITHUB_ENV
64-
echo "changeSet=${{ github.event.inputs.changeSet }}" >> $GITHUB_ENV
65-
echo "repoVersionFull=${{ github.event.inputs.repoVersionFull }}" >> $GITHUB_ENV
66-
echo "repoVersionMinor=${{ github.event.inputs.repoVersionMinor }}" >> $GITHUB_ENV
67-
echo "repoVersionMajor=${{ github.event.inputs.repoVersionMajor }}" >> $GITHUB_ENV
70+
echo "jobId=${{ github.event.inputs.jobId }}" >> $GITHUB_OUTPUT
71+
echo "editorVersion=${{ github.event.inputs.editorVersion }}" >> $GITHUB_OUTPUT
72+
echo "changeSet=${{ github.event.inputs.changeSet }}" >> $GITHUB_OUTPUT
73+
echo "repoVersionFull=${{ github.event.inputs.repoVersionFull }}" >> $GITHUB_OUTPUT
74+
echo "repoVersionMinor=${{ github.event.inputs.repoVersionMinor }}" >> $GITHUB_OUTPUT
75+
echo "repoVersionMajor=${{ github.event.inputs.repoVersionMajor }}" >> $GITHUB_OUTPUT
6876
} else
6977
{
7078
# Repo Dispatch
71-
echo "jobId=${{ github.event.client_payload.jobId }}" >> $GITHUB_ENV
72-
echo "editorVersion=${{ github.event.client_payload.editorVersion }}" >> $GITHUB_ENV
73-
echo "changeSet=${{ github.event.client_payload.changeSet }}" >> $GITHUB_ENV
74-
echo "repoVersionFull=${{ github.event.client_payload.repoVersionFull }}" >> $GITHUB_ENV
75-
echo "repoVersionMinor=${{ github.event.client_payload.repoVersionMinor }}" >> $GITHUB_ENV
76-
echo "repoVersionMajor=${{ github.event.client_payload.repoVersionMajor }}" >> $GITHUB_ENV
79+
echo "jobId=${{ github.event.client_payload.jobId }}" >> $GITHUB_OUTPUT
80+
echo "editorVersion=${{ github.event.client_payload.editorVersion }}" >> $GITHUB_OUTPUT
81+
echo "changeSet=${{ github.event.client_payload.changeSet }}" >> $GITHUB_OUTPUT
82+
echo "repoVersionFull=${{ github.event.client_payload.repoVersionFull }}" >> $GITHUB_OUTPUT
83+
echo "repoVersionMinor=${{ github.event.client_payload.repoVersionMinor }}" >> $GITHUB_OUTPUT
84+
echo "repoVersionMajor=${{ github.event.client_payload.repoVersionMajor }}" >> $GITHUB_OUTPUT
7785
}
7886
7987
- name: Show hook input

.github/workflows/new-windows-post-2019-2-editor-image-requested.yml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ jobs:
5050
steps:
5151
- name: Checkout
5252
uses: actions/checkout@v3
53+
with:
54+
fetch-depth: 0
55+
56+
- name: Checkout latest release tag
57+
run: |
58+
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
59+
git checkout $LATEST_TAG
60+
shell: bash
5361

5462
#################
5563
# Variables #
@@ -60,21 +68,21 @@ jobs:
6068
if ("${{ github.event.inputs.jobId }}")
6169
{
6270
# Workflow Dispatch
63-
echo "jobId=${{ github.event.inputs.jobId }}" >> $GITHUB_ENV
64-
echo "editorVersion=${{ github.event.inputs.editorVersion }}" >> $GITHUB_ENV
65-
echo "changeSet=${{ github.event.inputs.changeSet }}" >> $GITHUB_ENV
66-
echo "repoVersionFull=${{ github.event.inputs.repoVersionFull }}" >> $GITHUB_ENV
67-
echo "repoVersionMinor=${{ github.event.inputs.repoVersionMinor }}" >> $GITHUB_ENV
68-
echo "repoVersionMajor=${{ github.event.inputs.repoVersionMajor }}" >> $GITHUB_ENV
71+
echo "jobId=${{ github.event.inputs.jobId }}" >> $GITHUB_OUTPUT
72+
echo "editorVersion=${{ github.event.inputs.editorVersion }}" >> $GITHUB_OUTPUT
73+
echo "changeSet=${{ github.event.inputs.changeSet }}" >> $GITHUB_OUTPUT
74+
echo "repoVersionFull=${{ github.event.inputs.repoVersionFull }}" >> $GITHUB_OUTPUT
75+
echo "repoVersionMinor=${{ github.event.inputs.repoVersionMinor }}" >> $GITHUB_OUTPUT
76+
echo "repoVersionMajor=${{ github.event.inputs.repoVersionMajor }}" >> $GITHUB_OUTPUT
6977
} else
7078
{
7179
# Repo Dispatch
72-
echo "jobId=${{ github.event.client_payload.jobId }}" >> $GITHUB_ENV
73-
echo "editorVersion=${{ github.event.client_payload.editorVersion }}" >> $GITHUB_ENV
74-
echo "changeSet=${{ github.event.client_payload.changeSet }}" >> $GITHUB_ENV
75-
echo "repoVersionFull=${{ github.event.client_payload.repoVersionFull }}" >> $GITHUB_ENV
76-
echo "repoVersionMinor=${{ github.event.client_payload.repoVersionMinor }}" >> $GITHUB_ENV
77-
echo "repoVersionMajor=${{ github.event.client_payload.repoVersionMajor }}" >> $GITHUB_ENV
80+
echo "jobId=${{ github.event.client_payload.jobId }}" >> $GITHUB_OUTPUT
81+
echo "editorVersion=${{ github.event.client_payload.editorVersion }}" >> $GITHUB_OUTPUT
82+
echo "changeSet=${{ github.event.client_payload.changeSet }}" >> $GITHUB_OUTPUT
83+
echo "repoVersionFull=${{ github.event.client_payload.repoVersionFull }}" >> $GITHUB_OUTPUT
84+
echo "repoVersionMinor=${{ github.event.client_payload.repoVersionMinor }}" >> $GITHUB_OUTPUT
85+
echo "repoVersionMajor=${{ github.event.client_payload.repoVersionMajor }}" >> $GITHUB_OUTPUT
7886
}
7987
8088
- name: Show hook input

0 commit comments

Comments
 (0)