Skip to content

Commit

Permalink
Regenerate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Feb 13, 2022
1 parent 241b51b commit 1dad497
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
os: [ubuntu-latest]
scala: [3.1.1]
java: [temurin@8]
project: [rootJS, rootJVM, rootNative]
project: [rootJS, rootJVM]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
Expand Down Expand Up @@ -67,10 +67,6 @@ jobs:
if: matrix.project == 'rootJS'
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' Test/fastOptJS

- name: nativeLink
if: matrix.project == 'rootNative'
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' Test/nativeLink

- name: Test
run: sbt 'project ${{ matrix.project }}' '++${{ matrix.scala }}' test

Expand All @@ -84,11 +80,11 @@ jobs:

- name: Make target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/scala3')
run: mkdir -p target all/target units/.jvm/target .js/target core/.native/target site/target core/.js/target units/.native/target core/.jvm/target .jvm/target .native/target units/.js/target project/target
run: mkdir -p target all/target units/.jvm/target .js/target site/target kernel/.jvm/target core/.js/target kernel/.js/target core/.jvm/target .jvm/target .native/target units/.js/target project/target

- name: Compress target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/scala3')
run: tar cf targets.tar target all/target units/.jvm/target .js/target core/.native/target site/target core/.js/target units/.native/target core/.jvm/target .jvm/target .native/target units/.js/target project/target
run: tar cf targets.tar target all/target units/.jvm/target .js/target site/target kernel/.jvm/target core/.js/target kernel/.js/target core/.jvm/target .jvm/target .native/target units/.js/target project/target

- name: Upload target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/scala3')
Expand Down Expand Up @@ -152,16 +148,6 @@ jobs:
tar xf targets.tar
rm targets.tar
- name: Download target directories (3.1.1, rootNative)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-3.1.1-rootNative

- name: Inflate target directories (3.1.1, rootNative)
run: |
tar xf targets.tar
rm targets.tar
- name: Import signing key
if: env.PGP_SECRET != '' && env.PGP_PASSPHRASE == ''
run: echo $PGP_SECRET | base64 -d | gpg --import
Expand Down

0 comments on commit 1dad497

Please sign in to comment.