Skip to content

Commit acad35f

Browse files
Run prePR with sbt-typelevel
Executed command: sbt tlPrePrBotHook
1 parent 21c0ba4 commit acad35f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,15 @@ jobs:
113113
run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' unusedCompileDependenciesTest
114114

115115
- name: Make target directories
116-
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
116+
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
117117
run: mkdir -p json/.native/target cbor/.js/target json/.jvm/target csv/.jvm/target xml/.jvm/target xml-scala/.js/target xml/.js/target cbor/.native/target xml-scala/.native/target cbor/.jvm/target xml-scala/.jvm/target csv/.native/target csv/.js/target xml/.native/target json/.js/target project/target
118118

119119
- name: Compress target directories
120-
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
120+
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
121121
run: tar cf targets.tar json/.native/target cbor/.js/target json/.jvm/target csv/.jvm/target xml/.jvm/target xml-scala/.js/target xml/.js/target cbor/.native/target xml-scala/.native/target cbor/.jvm/target xml-scala/.jvm/target csv/.native/target csv/.js/target xml/.native/target json/.js/target project/target
122122

123123
- name: Upload target directories
124-
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
124+
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
125125
uses: actions/upload-artifact@v4
126126
with:
127127
name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}-${{ matrix.project }}
@@ -130,7 +130,7 @@ jobs:
130130
publish:
131131
name: Publish Artifacts
132132
needs: [build]
133-
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
133+
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
134134
strategy:
135135
matrix:
136136
os: [ubuntu-22.04]

0 commit comments

Comments
 (0)