Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Fix for the final step, pv for xzipping
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Aug 28, 2021
1 parent 244395d commit 3e37e14
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ jobs:
- name: Compress PDK
if: ${{ env.GO_AHEAD == '1' }}
run: |
sudo apt-get install -y pv
tar -cf /tmp/sky130A.tar -C /usr/local/pdk/sky130A .
xz -zk /tmp/sky130A.tar
pv /tmp/sky130A.tar | xz > /tmp/sky130A.tar.xz
- name: Upload artifact
if: ${{ env.GO_AHEAD == '1' }}
run:
go get -u github.com/tcnksm/ghr
export PATH=$PATH:$(go env GOPATH)/bin
ghr -u ${{ env.OWNER }} -r ${{ env.REPO }} -t ${{ github.token }} ${{ env.TAG_NAME }} /tmp/sky130A.tar.xz
run: |
go get -u github.com/tcnksm/ghr
export PATH=$PATH:$(go env GOPATH)/bin
ghr -u ${{ env.OWNER }} -r ${{ env.REPO }} -t ${{ github.token }} ${{ env.TAG_NAME }} /tmp/sky130A.tar.xz

0 comments on commit 3e37e14

Please sign in to comment.