Skip to content

Commit

Permalink
Fix CI breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed May 1, 2021
1 parent 3675d5e commit 6352139
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,7 @@ jobs:
run: |
sudo rm -rf build build-* dst
cp -r . /tmp/loksh
rm -rf /tmp/loksh/.travis.yml /tmp/loksh/Dockerfile /tmp/loksh/ci.sh /tmp/loksh/.git /tmp/loksh/.gitmodules /tmp/loksh/subprojects/lolibc/ci.sh
/tmp/loksh/subprojects/lolibc/.travis.yml /tmp/loksh/subprojects/lolibc/.git
tar -C /tmp -c loksh | xz -9 > src.tar.xz
mv /tmp/loksh /tmp/loksh-${{ github.event.inputs.tag }}
tar -C /tmp -c loksh-${{ github.event.inputs.tag }} | xz -9 > loksh-${{ github.event.inputs.tag }}.tar.xz
- name: Cleanup
if: github.event_name == 'workflow_dispatch'
run: |
sudo rm -rf build build-* dst
cp -r . /tmp/loksh
rm -rf /tmp/loksh/.travis.yml /tmp/loksh/Dockerfile /tmp/loksh/ci.sh /tmp/loksh/.git /tmp/loksh/.gitmodules /tmp/loksh/subprojects/lolibc/ci.sh
/tmp/loksh/subprojects/lolibc/.travis.yml /tmp/loksh/subprojects/lolibc/.git
rm -rf /tmp/loksh/.github /tmp/loksh/Dockerfile /tmp/loksh/ci.sh /tmp/loksh/.git /tmp/loksh/.gitmodules /tmp/loksh/subprojects/lolibc/ci.sh /tmp/loksh/subprojects/lolibc/.github /tmp/loksh/subprojects/lolibc/.git
tar -C /tmp -c loksh | xz -9 > src.tar.xz
mv /tmp/loksh /tmp/loksh-${{ github.event.inputs.tag }}
tar -C /tmp -c loksh-${{ github.event.inputs.tag }} | xz -9 > loksh-${{ github.event.inputs.tag }}.tar.xz
Expand Down

0 comments on commit 6352139

Please sign in to comment.