Skip to content

Commit 93fee3d

Browse files
committed
Move translating repo name step
1 parent 496ea7b commit 93fee3d

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Translate Repo Name For Build Tools filename_prefix
14-
id: repo-name
15-
run: |
16-
echo "repo-name=$(
17-
echo ${{ github.repository }} |
18-
awk -F '\/' '{ print tolower($2) }' |
19-
tr '_' '-'
20-
)" >> $GITHUB_OUTPUT
2113
- name: Set up Python 3.10
2214
uses: actions/setup-python@v4
2315
with:
@@ -28,6 +20,14 @@ jobs:
2820
- uses: actions/checkout@v3
2921
with:
3022
submodules: true
23+
- name: Translate Repo Name For Build Tools filename_prefix
24+
id: repo-name
25+
run: |
26+
echo "repo-name=$(
27+
echo ${{ github.repository }} |
28+
awk -F '\/' '{ print tolower($2) }' |
29+
tr '_' '-'
30+
)" >> $GITHUB_OUTPUT
3131
- name: Install deps
3232
run: |
3333
sudo apt-get install gettext

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ jobs:
1616
uses: actions/github-script@v6
1717
with:
1818
script: console.log(JSON.stringify(context, null, 2))
19-
- name: Translate Repo Name For Build Tools filename_prefix
20-
id: repo-name
21-
run: |
22-
echo "repo-name=$(
23-
echo ${{ github.repository }} |
24-
awk -F '\/' '{ print tolower($2) }' |
25-
tr '_' '-'
26-
)" >> $GITHUB_OUTPUT
2719
- name: Set up Python 3.10
2820
uses: actions/setup-python@v4
2921
with:
@@ -34,6 +26,14 @@ jobs:
3426
- uses: actions/checkout@v3
3527
with:
3628
submodules: true
29+
- name: Translate Repo Name For Build Tools filename_prefix
30+
id: repo-name
31+
run: |
32+
echo "repo-name=$(
33+
echo ${{ github.repository }} |
34+
awk -F '\/' '{ print tolower($2) }' |
35+
tr '_' '-'
36+
)" >> $GITHUB_OUTPUT
3737
- name: Install deps
3838
run: |
3939
sudo apt-get install gettext

0 commit comments

Comments
 (0)