File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,15 +76,15 @@ jobs:
7676 run : sbt '++ ${{ matrix.scala }}' docs/mdoc
7777
7878 - name : Make target directories
79- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' )
79+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
8080 run : mkdir -p modules/core/.native/target modules/core/.js/target modules/core/.jvm/target project/target
8181
8282 - name : Compress target directories
83- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' )
83+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
8484 run : tar cf targets.tar modules/core/.native/target modules/core/.js/target modules/core/.jvm/target project/target
8585
8686 - name : Upload target directories
87- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' )
87+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
8888 uses : actions/upload-artifact@v4
8989 with :
9090 name : target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}
9393 publish :
9494 name : Publish Artifacts
9595 needs : [build]
96- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' )
96+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
9797 strategy :
9898 matrix :
9999 os : [ubuntu-22.04]
You can’t perform that action at this time.
0 commit comments