Changeset 1a5a93 in git for .github


Ignore:
Timestamp:
Nov 16, 2022, 10:41:07 PM (17 months ago)
Author:
Max Horn <max@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
5cf36cb1c99d617d81e98b1b6986dc9b03b3883f
Parents:
3c6f0ffaf164cb9431bba2f23a727bae0ba8ce1b
Message:
CI: update various GitHub Actions to latest version
Location:
.github/workflows
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • .github/workflows/ci-sage.yml

    r3c6f0f r1a5a93  
    7777    steps:
    7878      - name: Check out ${{ env.SPKG }}
    79         uses: actions/checkout@v2
     79        uses: actions/checkout@v3
    8080        with:
    8181          path: build/pkgs/${{ env.SPKG }}/src
     
    9292          && echo 'echo ntl flint readline mpfr cddlib 4ti2 > ../build/pkgs/singular/dependencies' >> upstream/update-pkgs.sh \
    9393          && ls -l upstream/
    94       - uses: actions/upload-artifact@v2
     94      - uses: actions/upload-artifact@v3
    9595        with:
    9696          path: upstream
     
    117117    steps:
    118118      - name: Check out SageMath
    119         uses: actions/checkout@v2
     119        uses: actions/checkout@v3
    120120        with:
    121121          repository: ${{ env.SAGE_REPO }}
     
    124124        if: env.SAGE_REPO != ''
    125125      - name: Check out git-trac-command
    126         uses: actions/checkout@v2
     126        uses: actions/checkout@v3
    127127        with:
    128128          repository: sagemath/git-trac-command
     
    136136          if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac fetch $SAGE_TICKET; then git merge FETCH_HEAD || echo "(ignored)"; exit 0; fi; sleep 40; done; exit 1
    137137        if: env.SAGE_TRAC_GIT != ''
    138       - uses: actions/download-artifact@v2
     138      - uses: actions/download-artifact@v3
    139139        with:
    140140          path: upstream
     
    157157          if [ -n "$CONTAINERS" ]; then for CONTAINER in $CONTAINERS; do for ARTIFACT in /sage/logs; do docker cp $CONTAINER:$ARTIFACT artifacts/$LOGS_ARTIFACT_NAME && HAVE_LOG=1; done; if [ -n "$HAVE_LOG" ]; then break; fi; done; fi
    158158        if: always()
    159       - uses: actions/upload-artifact@v2
     159      - uses: actions/upload-artifact@v3
    160160        with:
    161161          path: artifacts
     
    216216        choco install git python3 --source cygwin
    217217    - name: Check out SageMath
    218       uses: actions/checkout@v2
     218      uses: actions/checkout@v3
    219219      with:
    220220        repository: ${{ env.SAGE_REPO }}
     
    223223      if: env.SAGE_REPO != ''
    224224    - name: Check out git-trac-command
    225       uses: actions/checkout@v2
     225      uses: actions/checkout@v3
    226226      with:
    227227        repository: sagemath/git-trac-command
     
    236236        if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac fetch $SAGE_TICKET; then git merge FETCH_HEAD || echo "(ignored)"; exit 0; fi; sleep 40; done; exit 1
    237237      if: env.SAGE_TRAC_GIT != ''
    238     - uses: actions/download-artifact@v2
     238    - uses: actions/download-artifact@v3
    239239      with:
    240240        path: upstream
     
    258258        mkdir -p "artifacts/$LOGS_ARTIFACT_NAME"; for a in local/var/tmp/sage/build/*; do if [ -d $a ]; then tar -c --remove-files -f "artifacts/$LOGS_ARTIFACT_NAME/$(basename $a).tar" $a || tar -c --ignore-failed-read -f "artifacts/$LOGS_ARTIFACT_NAME/$(basename $a)-save.tar" $a ; fi; done; cp -r logs/*  "artifacts/$LOGS_ARTIFACT_NAME"
    259259      if: always()
    260     - uses: actions/upload-artifact@v2
     260    - uses: actions/upload-artifact@v3
    261261      with:
    262262        path: artifacts
     
    276276        C:\\tools\\cygwin\\bin\\bash -l -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && rm -f "${{ env.SAGE_LOCAL }}"/lib64; tar -cf /tmp/sage-local-${{ env.STAGE }}.tar --remove-files "${{ env.SAGE_LOCAL }}"'
    277277      if: always()
    278     - uses: actions/upload-artifact@v2
     278    - uses: actions/upload-artifact@v3
    279279      # upload-artifact@v2 does not support whitespace in file names.
    280280      # so we tar up the directory ourselves
     
    299299    steps:
    300300      - name: Check out SageMath
    301         uses: actions/checkout@v2
     301        uses: actions/checkout@v3
    302302        with:
    303303          repository: ${{ env.SAGE_REPO }}
     
    306306        if: env.SAGE_REPO != ''
    307307      - name: Check out git-trac-command
    308         uses: actions/checkout@v2
     308        uses: actions/checkout@v3
    309309        with:
    310310          repository: sagemath/git-trac-command
     
    391391          if [ ${{ matrix.xcode_version_factor }} != default ]; then sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version_factor }}.app; fi
    392392      - name: Check out SageMath
    393         uses: actions/checkout@v2
     393        uses: actions/checkout@v3
    394394        with:
    395395          repository: ${{ env.SAGE_REPO }}
     
    398398        if: env.SAGE_REPO != ''
    399399      - name: Check out git-trac-command
    400         uses: actions/checkout@v2
     400        uses: actions/checkout@v3
    401401        with:
    402402          repository: sagemath/git-trac-command
     
    410410          if [ ! -d .git ]; then git init; fi; git remote add trac ${{ env.SAGE_TRAC_GIT }} && x=1 && while [ $x -le 5 ]; do x=$(( $x + 1 )); sleep $(( $RANDOM % 60 + 1 )); if git-trac-command/git-trac fetch $SAGE_TICKET; then git merge FETCH_HEAD || echo "(ignored)"; exit 0; fi; sleep 40; done; exit 1
    411411        if: env.SAGE_TRAC_GIT != ''
    412       - uses: actions/download-artifact@v2
     412      - uses: actions/download-artifact@v3
    413413        with:
    414414          path: upstream
     
    430430          mkdir -p "artifacts/$LOGS_ARTIFACT_NAME"; cp -r .tox/*/log "artifacts/$LOGS_ARTIFACT_NAME"
    431431        if: always()
    432       - uses: actions/upload-artifact@v1
     432      - uses: actions/upload-artifact@v3
    433433        with:
    434434          path: artifacts
  • .github/workflows/lint.yml

    r3c6f0f r1a5a93  
    88    runs-on: ubuntu-20.04
    99    steps:
    10       - uses: actions/checkout@v2
     10      - uses: actions/checkout@v3
    1111        with: { submodules: recursive }
    1212      - uses: conda-incubator/setup-miniconda@v2
  • .github/workflows/runtests.yml

    r3c6f0f r1a5a93  
    1616
    1717    steps:
    18       - uses: actions/checkout@v2
     18      - uses: actions/checkout@v3
    1919      - name: "Install dependencies"
    2020        run: |
Note: See TracChangeset for help on using the changeset viewer.