Skip to content

Commit

Permalink
Update build_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor authored Aug 12, 2023
1 parent f7011ba commit 1843243
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
tags:
- tc_nightly
- tc_v*
pull_request:
branches: [ "master", "develop" ]

jobs:
build-windows-amd64:
Expand Down Expand Up @@ -98,6 +100,7 @@ jobs:
release_name: TeddyCloud ${{ env.RELEASE_NAME }}
draft: true
prerelease: ${{ env.IS_PRERELEASE }}
if: github.event_name != 'pull_request'

- name: Upload Release Asset
id: upload-release-asset
Expand All @@ -109,7 +112,10 @@ jobs:
asset_path: ./install/zip/release.zip
asset_name: teddycloud.amd64.${{ env.ASSET_APPENDIX }}.zip
asset_content_type: application/zip
if: github.event_name != 'pull_request'
- id: set_data1
run: echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> "$GITHUB_OUTPUT"
if: github.event_name != 'pull_request'
- id: set_data2
run: echo "appendix=${{ env.ASSET_APPENDIX }}" >> "$GITHUB_OUTPUT"
if: github.event_name != 'pull_request'

0 comments on commit 1843243

Please sign in to comment.