Skip to content

Commit c6e57cc

Browse files
committed
change tag name
1 parent d7ba1d0 commit c6e57cc

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/release.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,16 @@ jobs:
2424
target: aarch64
2525
- os: ubuntu
2626
platform: linux
27-
target: armv7
27+
target: ppc64le
2828
interpreter: 3.10.12
2929
- os: ubuntu
3030
platform: linux
3131
target: aarch64
3232
manylinux: musllinux_1_1
33+
- os: ubuntu
34+
platform: linux
35+
target: s390x
36+
interpreter: 3.10.12
3337

3438
runs-on: ${{ matrix.os }}-latest
3539
steps:
@@ -120,17 +124,20 @@ jobs:
120124
|| echo ::set-output name=prerelease::true
121125
122126
- name: Set tag
123-
# get tag from file name graph_ml-0.1.tar.gz
124127
id: set-tag
125128
run: |
126129
echo ::set-output name=tag::$(ls dist/*.tar.gz | sed -n 's/.*graph_ml-\(.*\).tar.gz/\1/p')
127130
131+
- name: Print TAG
132+
run: echo "v${{ steps.set-tag.outputs.tag }}"
133+
128134
- name: Create Release
129135
uses: ncipollo/release-action@v1
130136
with:
131137
artifacts: "dist/*"
132138
token: ${{ secrets.GITHUB_TOKEN }}
133139
draft: false
134-
tag: ${{ steps.set-tag.outputs.tag }}
140+
tag: "v${{ steps.set-tag.outputs.tag }}"
135141
skipIfReleaseExists: false
136-
replacesArtifacts: true
142+
replacesArtifacts: true
143+
prerelease: steps.check-version.outputs.prerelease == 'true'

0 commit comments

Comments
 (0)