Skip to content

Commit cdcdcea

Browse files
committed
[install] in .github/workflows/archiver.yml try to upload cudacpp.tgz as a release asset rather than as a CI artifact
1 parent 7420cf4 commit cdcdcea

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/archiver.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ name: Archiver
77

88
on:
99
push:
10-
branches: [ master ]
11-
pull_request:
12-
branches: [ master ]
10+
# branches: [ master ]
11+
#pull_request:
12+
# branches: [ master ]
1313

1414
jobs:
1515
archiver:
@@ -19,8 +19,14 @@ jobs:
1919
uses: actions/checkout@v4
2020
- name: archive
2121
run: .github/workflows/archiver.sh
22-
- name: upload
23-
uses: actions/upload-artifact@v4
22+
#- name: upload
23+
# uses: actions/upload-artifact@v4
24+
# with:
25+
# name: tarball
26+
# path: cudacpp.tgz
27+
- name: release
28+
# See https://github.com/softprops/action-gh-release
29+
uses: softprops/action-gh-release@v2
30+
if: startsWith(github.ref, 'refs/tags/')
2431
with:
25-
name: tarball
26-
path: cudacpp.tgz
32+
files: cudacpp.tgz

0 commit comments

Comments
 (0)