Skip to content

Commit

Permalink
Fix macOS release archives
Browse files Browse the repository at this point in the history
  • Loading branch information
carstene1ns committed Jul 25, 2020
1 parent 5cf3b63 commit c685982
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
sudo apt-get -y install $pkg
- name: Install on Mac
if: matrix.os == 'macOS-latest'
if: matrix.os == 'macos-latest'
run: brew bundle

- name: Runs all stages
Expand All @@ -69,22 +69,16 @@ jobs:

- name: Rename pspdev.tar.gz file
run: |
if [ "${{matrix.os}}" == "macOS-latest" ]; then
if [ "${{matrix.os}}" == "macos-latest" ]; then
mv pspdev.tar.gz pspdev-macOS.tar.gz
elif [ "${{matrix.os}}" == "ubuntu-latest" ]; then
mv pspdev.tar.gz pspdev-linux-${{ matrix.arch }}.tar.gz
fi
- name: Extract tag name
if: startsWith(github.ref, 'refs/tags/')
id: tag
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: pspdev-*.tar.gz
tag_name: ${{ steps.tag.outputs.VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c685982

Please sign in to comment.