diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0f71a1e4..e311d4a38 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -317,7 +317,7 @@ jobs: python3 src/tester.py ../build/c3c test_suite/ - name: bundle_output - if: matrix.llvm_version == 16 + if: matrix.llvm_version == env.LLVM_RELEASE_VERSION run: | mkdir linux cp -r lib linux @@ -326,7 +326,7 @@ jobs: tar czf c3-linux-${{matrix.build_type}}.tar.gz linux - name: upload artifacts - if: matrix.llvm_version == 16 + if: matrix.llvm_version == env.LLVM_RELEASE_VERSION uses: actions/upload-artifact@v3 with: name: c3-linux-${{matrix.build_type}} @@ -339,7 +339,7 @@ jobs: fail-fast: false matrix: build_type: [Release, Debug] - llvm_version: [16] + llvm_version: [16,17] steps: - uses: actions/checkout@v4 @@ -424,7 +424,7 @@ jobs: python3 src/tester.py ../build/c3c test_suite/ - name: bundle_output - if: matrix.llvm_version == 16 + if: matrix.llvm_version == 17 run: | mkdir linux cp -r lib linux @@ -433,7 +433,7 @@ jobs: tar czf c3-ubuntu-20-${{matrix.build_type}}.tar.gz linux - name: upload artifacts - if: matrix.llvm_version == 16 + if: matrix.llvm_version == 17 uses: actions/upload-artifact@v3 with: name: c3-ubuntu-20-${{matrix.build_type}}