Skip to content

Commit

Permalink
if not work
Browse files Browse the repository at this point in the history
  • Loading branch information
wangfenjin committed Mar 25, 2022
1 parent 86eb452 commit 62a07a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
Linux:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
include:
- os: ubuntu-18.04
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
# create release
- name: "Build Changelog"
id: build_changelog
if: startsWith(github.ref, 'refs/tags/') && ${{ matrix.os }} == 'ubuntu-latest'
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' }}
uses: mikepenz/release-changelog-builder-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -299,15 +299,15 @@ jobs:
zip -r libsimple-linux-${{ matrix.os }}.zip libsimple-linux-${{ matrix.os }}
working-directory: "${{ github.workspace }}/build"
- name: Release without changelog
if: startsWith(github.ref, 'refs/tags/') && ${{ matrix.os }} != 'ubuntu-latest'
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.os != 'ubuntu-latest' }}
uses: softprops/action-gh-release@v1
with:
draft: true
files: ${{ github.workspace }}/build/libsimple-linux-${{ matrix.os }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
if: startsWith(github.ref, 'refs/tags/') && ${{ matrix.os }} == 'ubuntu-latest'
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' }}
uses: softprops/action-gh-release@v1
with:
draft: true
Expand Down

0 comments on commit 62a07a2

Please sign in to comment.