Fixing logic bug in githubactions
This commit is contained in:
parent
85b309cbb0
commit
c5ff258793
6
.github/workflows/dotnetcore.yml
vendored
6
.github/workflows/dotnetcore.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
working-directory: ../map-project/Lora-Map/Lora-Map/dpkg
|
||||
|
||||
- name: Create release
|
||||
if: success()
|
||||
if: ${{ success() && github.event.ref == 'refs/heads/master' }}
|
||||
id: nightly_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
prerelease: true
|
||||
|
||||
- name: Upload release asset amd64
|
||||
if: success()
|
||||
if: ${{ success() && github.event.ref == 'refs/heads/master' }}
|
||||
id: upload-release-asset-amd64
|
||||
uses: actions/upload-release-asset@v1.0.1
|
||||
env:
|
||||
@ -63,7 +63,7 @@ jobs:
|
||||
asset_content_type: application/x-deb
|
||||
|
||||
- name: Upload release asset armhf
|
||||
if: success()
|
||||
if: ${{ success() && github.event.ref == 'refs/heads/master' }}
|
||||
id: upload-release-asset-armhf
|
||||
uses: actions/upload-release-asset@v1.0.1
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user