@@ -96,15 +96,15 @@ jobs:
9696 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
9797
9898 - name : Make target directories
99- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master ')
99+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main ')
100100 run : mkdir -p config/target project/target
101101
102102 - name : Compress target directories
103- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master ')
103+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main ')
104104 run : tar cf targets.tar config/target project/target
105105
106106 - name : Upload target directories
107- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master ')
107+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main ')
108108 uses : actions/upload-artifact@v4
109109 with :
110110 name : target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}-${{ matrix.project }}
@@ -113,7 +113,7 @@ jobs:
113113 publish :
114114 name : Publish Artifacts
115115 needs : [build]
116- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master ')
116+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main ')
117117 strategy :
118118 matrix :
119119 os : [ubuntu-22.04]
0 commit comments