Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qinghui-xu authored Aug 23, 2024
1 parent 1d7c6c4 commit 8bb8d67
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Create layout
run: mkdir protobuf-dist-${{ github.ref_name }}
run: |
mkdir protobuf-dist-${{ github.ref_name }}
mkdir download
- name: Download artifacts
uses: actions/[email protected]
with:
pattern: artifacts-*
path: ${{ github.workspace }}/protobuf-dist-${{ github.ref_name }}
path: ${{ github.workspace }}/download

- name: Package artifacts
run: |
ls -l protobuf-dist-${{ github.ref_name }}
ls -l download/*
mv download/*/* protobuf-dist-${{ github.ref_name }}/
chmod +x protobuf-dist-${{ github.ref_name }}/protoc-*.exe
ls -l protobuf-dist-${{ github.ref_name }}
tar -czf protobuf-dist-${{ github.ref_name }}.tar.gz protobuf-dist-${{ github.ref_name }}
Expand Down

0 comments on commit 8bb8d67

Please sign in to comment.