Skip to content

Commit 7bc4558

Browse files
committed
[install] in .github/workflows/archiver.yml try to fix various issues in tarball upload on release tags
1 parent b7d8282 commit 7bc4558

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/archiver.yml

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

88
on:
99
push:
10-
branches: [ master ]
11-
pull_request:
12-
branches: [ master ]
10+
tags: [ '*' ]
1311

1412
jobs:
1513
archiver:
@@ -19,14 +17,11 @@ jobs:
1917
uses: actions/checkout@v4
2018
- name: archive
2119
run: .github/workflows/archiver.sh
22-
- name: upload
23-
uses: actions/upload-artifact@v4
24-
with:
25-
name: tarball
26-
path: cudacpp.tgz
2720
- name: release
2821
# See https://github.com/softprops/action-gh-release
2922
uses: softprops/action-gh-release@v2
3023
if: startsWith(github.ref, 'refs/tags/')
3124
with:
3225
files: cudacpp.tgz
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)