Skip to content

Commit 887aba3

Browse files
author
Thomas Fuchs
committed
Publish branches with rc/* pattern as CI
1 parent e8e7d81 commit 887aba3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
7070
7171
- name: Execute dotnet pack with production version (dev or future)
72-
if: ${{ github.ref_name == 'dev' || github.ref_name == 'future'}}
72+
if: ${{ github.ref_name == 'dev' || github.ref_name == 'future' || startsWith(github.ref, '/refs/heads/rc/')}}
7373
run: |
7474
PRODUCTION_VERSION="$(cat VERSION)"-"${{github.ref_name}}"."${{github.run_number}}"
7575
echo "PRODUCTION_VERSION = ${PRODUCTION_VERSION}"

.github/workflows/publish-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
# Use if dev branch
5858
- name: Publish on MyGet-CI
59-
if: ${{ github.ref == 'refs/heads/dev' }} # dev branche is published to myget moryx
59+
if: ${{ github.ref == 'refs/heads/dev' || base_ref == 'dev') }} # dev branche is published to myget moryx
6060
env:
6161
MORYX_NUGET_APIKEY: ${{secrets.MYGET_TOKEN}}
6262
MORYX_PACKAGE_TARGET: ${{ inputs.MORYX_PACKAGE_TARGET_DEV }}

0 commit comments

Comments
 (0)