Skip to content

Commit 3add6ff

Browse files
authored
Merge pull request #49 from kluctl/fix-release
Fix release workflow
2 parents b0cc8ec + 6fd8fdd commit 3add6ff

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/release.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ jobs:
9797
fail-fast: false
9898
runs-on: ${{ matrix.os }}
9999
steps:
100-
- name: Set up Go
101-
uses: actions/setup-go@v5
102-
with:
103-
go-version: 1.19
104100
- uses: actions/download-artifact@v4
105101
with:
106102
name: workdir-${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }}
@@ -112,6 +108,10 @@ jobs:
112108
run: |
113109
git reset --hard
114110
git checkout v0.0.0-${{ matrix.pythonVersion }}-${{ matrix.pythonStandaloneVersion }}-$(cat build-num)
111+
- name: Set up Go
112+
uses: actions/setup-go@v5
113+
with:
114+
go-version: 1.19
115115
- name: run tests
116116
shell: bash
117117
run: |
@@ -135,6 +135,9 @@ jobs:
135135
- uses: actions/download-artifact@v4
136136
with:
137137
name: workdir-${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }}
138+
- name: rename .git back
139+
run: |
140+
mv git-dir .git
138141
- name: update remote url
139142
run: |
140143
git remote set-url origin https://token:[email protected]/$GITHUB_REPOSITORY

0 commit comments

Comments
 (0)