You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2022/11/15 19:38:20 UTC

[incubator-pekko-persistence-cassandra] 04/07: try to fix CI build (#3)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-cassandra.git

commit 65de2a6b08ec601749a76c11284189ea03e88572
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Tue Nov 15 12:22:14 2022 +0100

    try to fix CI build (#3)
    
    * try to fix CI build
    
    * Update publish.yml
    
    * Update release-drafter.yml
    
    * Update publish.yml
    
    * disable fetch tags
---
 .github/workflows/check-build-test.yml | 16 +++++++++-------
 .github/workflows/publish.yml          |  2 +-
 .github/workflows/release-drafter.yml  |  1 +
 3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/check-build-test.yml b/.github/workflows/check-build-test.yml
index fc15d3e..6e39fa8 100644
--- a/.github/workflows/check-build-test.yml
+++ b/.github/workflows/check-build-test.yml
@@ -12,7 +12,7 @@ on:
 jobs:
   style-compile:
     name: Compile, Code Style
-    if: github.repository == 'akka/akka-persistence-cassandra'
+    if: github.repository == 'apache/incubator-pekko-persistence-cassandra'
     runs-on: ubuntu-20.04
     env:
       JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
@@ -23,8 +23,9 @@ jobs:
         with: # https://github.com/olafurpg/setup-scala#faster-checkout-of-big-repos
           fetch-depth: 0
 
-      - name: Fetch tags
-        run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
+      # temporarily disable git fetch of tags (no tags currently) 
+      #- name: Fetch tags
+      #  run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
 
       - name: Set up JDK 11
         uses: coursier/setup-action@v1.1.2
@@ -40,7 +41,7 @@ jobs:
 
   documentation:
     name: ScalaDoc, Documentation with Paradox
-    if: github.repository == 'akka/akka-persistence-cassandra'
+    if: github.repository == 'apache/incubator-pekko-persistence-cassandra'
     runs-on: ubuntu-20.04
     env:
       JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
@@ -51,8 +52,9 @@ jobs:
         with: # https://github.com/olafurpg/setup-scala#faster-checkout-of-big-repos
           fetch-depth: 100
 
-      - name: Fetch tags
-        run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
+      # temporarily disable git fetch of tags (no tags currently) 
+      #- name: Fetch tags
+      #  run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
 
       - name: Set up JDK 11
         uses: coursier/setup-action@v1.1.2
@@ -70,7 +72,7 @@ jobs:
 
   test:
     name: Test
-    if: github.repository == 'akka/akka-persistence-cassandra'
+    if: github.repository == 'apache/incubator-pekko-persistence-cassandra'
     runs-on: ubuntu-20.04
 
     strategy:
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 7933045..868674d 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -13,7 +13,7 @@ on:
 jobs:
   release:
     # runs on main repo only
-    if: github.repository == 'akka/akka-persistence-cassandra'
+    if: github.repository == 'apache/incubator-pekko-persistence-cassandra'
     name: Release
     environment: release
     runs-on: ubuntu-20.04
diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml
index ffb5088..934c107 100644
--- a/.github/workflows/release-drafter.yml
+++ b/.github/workflows/release-drafter.yml
@@ -5,6 +5,7 @@ on:
     # branches to consider in the event; optional, defaults to all
     branches:
       - master
+      - main
 
 jobs:
   update_release_draft:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org