Skip to content

Commit

Permalink
Updating branch in publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
keerthibingi committed Feb 12, 2024
1 parent 07daf90 commit f47b589
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/clouddriver-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Branch Build clouddriver publish
on:
push:
branches:
- OES-1.30.1
- OES-1.30.1-nov-cve

env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Xmx6g -Xms6g
Expand All @@ -21,10 +21,9 @@ jobs:
with:
java-version: 17
distribution: 'temurin'
cache: 'gradle'
- name: Build
env:
NEXUS_VERSION: 1-0-SNAPSHOT
NEXUS_VERSION: OES-1.30.1-nov-cve-SNAPSHOT
run: |
cat <<EOF>> patch
Expand Down Expand Up @@ -93,5 +92,7 @@ jobs:
sed -e 's/NEXUS_PASSWORD/${{ secrets.NEXUS_PASSWORD }}/' -i settings.gradle
sed -e 's/NEXUS_USERNAME/${{ secrets.NEXUS_USERNAME }}/' -i build.gradle
sed -e 's/NEXUS_PASSWORD/${{ secrets.NEXUS_PASSWORD }}/' -i build.gradle

sed 's/^korkVersion=.*/korkVersion=OES-1.30.1-nov-cve-SNAPSHOT/; s/^fiatVersion=.*/fiatVersion=OES-1.30.1-nov-cve-SNAPSHOT/' gradle.properties > gradle.properties-bkp

mv gradle.properties-bkp gradle.properties
./gradlew --no-daemon -PenableCrossCompilerPlugin=true publish -x test

0 comments on commit f47b589

Please sign in to comment.