Skip to content

Commit

Permalink
[install] in .github/workflows/archiver.yml try to fix various issues…
Browse files Browse the repository at this point in the history
… in tarball upload on release tags
  • Loading branch information
valassi committed Sep 26, 2024
1 parent b7d8282 commit be81196
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/archiver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ name: Archiver

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
tags: [ * ]

jobs:
archiver:
Expand All @@ -19,14 +17,11 @@ jobs:
uses: actions/checkout@v4
- name: archive
run: .github/workflows/archiver.sh
- 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:
files: cudacpp.tgz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit be81196

Please sign in to comment.