diff --git a/.github/workflows/flow.yml b/.github/workflows/flow.yml index 903b7ef..0069280 100644 --- a/.github/workflows/flow.yml +++ b/.github/workflows/flow.yml @@ -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 \ No newline at end of file + 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 \ No newline at end of file