Skip to content

Commit 2fbb2ed

Browse files
committed
re-order things
1 parent 1f44168 commit 2fbb2ed

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/tag-release.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ jobs:
7575
- name: copy .tool-versions
7676
run: |
7777
cp /home/vscode/.tool-versions "$HOME/.tool-versions"
78+
- name: Clone calling repo
79+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
80+
with:
81+
repository: ${{ github.repository }}
82+
ref: ${{ github.sha }}
83+
7884
- name: Checkout semantic-release workflow
7985
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
8086
with:
@@ -100,12 +106,6 @@ jobs:
100106
mkdir -p ../releaseNotesTemplates
101107
cp releaseNotesTemplates/commit.hbs ../releaseNotesTemplates/
102108
echo "Current dir is ${PWD}"
103-
- name: Clone calling repo
104-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
105-
with:
106-
repository: ${{ github.repository }}
107-
ref: ${{ github.sha }}
108-
109109
- name: Setup Git branch for semantic-release
110110
run: |
111111
# When running from a PR, GitHub checks out a merge commit
@@ -129,12 +129,6 @@ jobs:
129129
github-token: ${{ secrets.GITHUB_TOKEN }}
130130
repository: ${{ inputs.extra_artifact_repository }}
131131
run-id: ${{ inputs.extra_artifact_run_id }}
132-
- name: Copy semantic release config,
133-
run: |
134-
echo "Current dir is ${PWD}"
135-
cp ../release.config.cjs .
136-
mkdir -p releaseNotesTemplates
137-
cp ../releaseNotesTemplates/commit.hbs releaseNotesTemplates/
138132

139133
- name: Set VERSION_TAG based on dry_run flag
140134
id: output_version_tag

0 commit comments

Comments
 (0)