Skip to content

Commit

Permalink
CI: fix permission issues in zip
Browse files Browse the repository at this point in the history
  • Loading branch information
aardappel committed Sep 9, 2022
1 parent 97f0f06 commit de7a28b
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,14 @@ jobs:
run: make -C _build -j4
- name: install files
run: make -C _build install
- name: zip
run: zip -r linux_treesheets_${{ matrix.cxx }}.zip TreeSheets-relocatable
- name: upload build artifacts
if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v1
with:
name: Linux TreeSheets ${{ matrix.cxx }}
path: TreeSheets-relocatable
- name: zip
if: github.ref == 'refs/heads/master'
uses: vimtor/action-zip@v1
with:
files: TreeSheets-relocatable/
dest: linux_treesheets_${{ matrix.cxx }}.zip
path: linux_treesheets_${{ matrix.cxx }}.zip
- name: Create release
if: github.ref == 'refs/heads/master'
uses: ncipollo/release-action@v1
Expand Down Expand Up @@ -141,18 +137,13 @@ jobs:
xcodebuild -toolchain clang -configuration Release -target TreeSheets -scheme TreeSheets -derivedDataPath build
chmod +x build/Build/Products/Release/TreeSheets.app/Contents/MacOS/TreeSheets
rm -rf build/Build/Products/Release/TreeSheets.app.dSYM
zip -r mac_treesheets.zip osx/TreeSheets/build/Build/Products/Release
- name: upload build artifacts
if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v2
with:
name: Mac TreeSheets
path: osx/TreeSheets/build/Build/Products/Release
- name: zip
if: github.ref == 'refs/heads/master'
uses: vimtor/action-zip@v1
with:
files: osx/TreeSheets/build/Build/Products/Release/
dest: mac_treesheets.zip
path: mac_treesheets.zip
- name: Create release
if: github.ref == 'refs/heads/master'
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit de7a28b

Please sign in to comment.