Skip to content

Commit

Permalink
Upload full sources with release
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeLyon committed Mar 28, 2023
1 parent 60ee489 commit 39a09cc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/uploadFirrtlBinaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ jobs:
with:
fetch-depth: 2
submodules: "true"

# Package up sources for distribution, as the default source bundles from GitHub don't include LLVM. Only runs on the ubuntu-20.04 runner.
- name: Archive Sources
if: ${{ matrix.runner }} == ubuntu-20.04
run: tar czf --exclude-vcs circt-full-sources.tar.gz .
- name: Upload Source Archive
uses: AButler/[email protected]
if: ${{ matrix.runner }} == ubuntu-20.04 && startsWith(github.ref, 'refs/tags/')
with:
files: circt-full-sources-${{ matrix.runner }}.tar.gz
repo-token: ${{ secrets.GITHUB_TOKEN }}

# We need unshallow CIRCT for later "git describe"
- name: Unshallow CIRCT (but not LLVM)
Expand Down

0 comments on commit 39a09cc

Please sign in to comment.