Skip to content

Commit

Permalink
[install] in .github/workflows/archiver.yml try to upload cudacpp.tgz…
Browse files Browse the repository at this point in the history
… as a release asset rather than as a CI artifact
  • Loading branch information
valassi committed Sep 26, 2024
1 parent 7420cf4 commit cdcdcea
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/archiver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ name: Archiver

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# branches: [ master ]
#pull_request:
# branches: [ master ]

jobs:
archiver:
Expand All @@ -19,8 +19,14 @@ jobs:
uses: actions/checkout@v4
- name: archive
run: .github/workflows/archiver.sh
- name: upload
uses: actions/upload-artifact@v4
#- name: upload
# uses: actions/upload-artifact@v4
# with:
# name: tarball
# path: cudacpp.tgz
- name: release
# See https://github.com/softprops/action-gh-release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: tarball
path: cudacpp.tgz
files: cudacpp.tgz

0 comments on commit cdcdcea

Please sign in to comment.