diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70052e6153..5b2f61388f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,12 +29,6 @@ jobs: allow_failure: true steps: - uses: actions/checkout@v3 - - uses: julia-actions/setup-julia@v1 - with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 - - uses: julia-actions/julia-buildpkg@v1 - name: Create a new branch and pull test logs from repo run: | git checkout -b ${GITHUB_REF#refs/heads/}-testlogs @@ -46,10 +40,16 @@ jobs: git remote add testlog https://github.com/GenXProject/GenX-testlog.git git pull testlog main if [ -d Logs_v${{ matrix.version }} ]; then - mv Logs_v${{ matrix.version }}/*.log . + mv Logs_v${{ matrix.version }}/*.log . else - mkdir Logs_v${{ matrix.version }} + mkdir Logs_v${{ matrix.version }} fi + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/cache@v1 + - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - name: Commit logs and push back to repo run: |