Skip to content

Commit

Permalink
Try to not put the files under a gcc folder in the archive
Browse files Browse the repository at this point in the history
  • Loading branch information
AngheloAlf committed Jan 20, 2023
1 parent 2578e5a commit a6d7b78
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ jobs:
- name: Create release archive
shell: bash
run: |
cp gcc/xgcc gcc/gcc
chmod +x gcc/gcc
chmod +x gcc/cc1
chmod +x gcc/cc1plus
chmod +x gcc/cccp
chmod +x gcc/cpp
chmod +x gcc/g++
tar -czf ${{ matrix.TARGET.ARCHIVE_NAME }} gcc/gcc gcc/cc1 gcc/cc1plus gcc/cpp gcc/cccp gcc/g++
cd gcc
cp xgcc gcc
chmod +x gcc
chmod +x cc1
chmod +x cc1plus
chmod +x cccp
chmod +x cpp
chmod +x g++
tar -czf ../${{ matrix.TARGET.ARCHIVE_NAME }} gcc cc1 cc1plus cpp cccp g++
cd ..
- name: Upload archive
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit a6d7b78

Please sign in to comment.