Browse Source

update actions/checkout

Laytan Laats 1 year ago
parent
commit
9122c20d4b
2 changed files with 11 additions and 11 deletions
  1. 5 5
      .github/workflows/ci.yml
  2. 6 6
      .github/workflows/nightly.yml

+ 5 - 5
.github/workflows/ci.yml

@@ -49,7 +49,7 @@ jobs:
     name: ${{ matrix.os == 'macos-14' && 'MacOS ARM' || (matrix.os == 'macos-13' && 'MacOS Intel' || 'Ubuntu') }} Build, Check, and Test
     name: ${{ matrix.os == 'macos-14' && 'MacOS ARM' || (matrix.os == 'macos-13' && 'MacOS Intel' || 'Ubuntu') }} Build, Check, and Test
     timeout-minutes: 15
     timeout-minutes: 15
     steps:
     steps:
-      - uses: actions/checkout@v1
+      - uses: actions/checkout@v4
 
 
       - name: Download LLVM (Linux)
       - name: Download LLVM (Linux)
         if: matrix.os == 'ubuntu-latest'
         if: matrix.os == 'ubuntu-latest'
@@ -79,9 +79,9 @@ jobs:
         run: ./odin report
         run: ./odin report
       - name: Compile needed Vendor
       - name: Compile needed Vendor
         run: |
         run: |
-          make -C $(./odin root)/vendor/stb/src
-          make -C $(./odin root)/vendor/cgltf/src
-          make -C $(./odin root)/vendor/miniaudio/src
+          make -C vendor/stb/src
+          make -C vendor/cgltf/src
+          make -C vendor/miniaudio/src
       - name: Odin check
       - name: Odin check
         run: ./odin check examples/demo -vet
         run: ./odin check examples/demo -vet
       - name: Odin run
       - name: Odin run
@@ -123,7 +123,7 @@ jobs:
     runs-on: windows-2022
     runs-on: windows-2022
     timeout-minutes: 15
     timeout-minutes: 15
     steps:
     steps:
-      - uses: actions/checkout@v1
+      - uses: actions/checkout@v4
       - name: build Odin
       - name: build Odin
         shell: cmd
         shell: cmd
         run: |
         run: |

+ 6 - 6
.github/workflows/nightly.yml

@@ -11,7 +11,7 @@ jobs:
     if: github.repository == 'odin-lang/Odin'
     if: github.repository == 'odin-lang/Odin'
     runs-on: windows-2022
     runs-on: windows-2022
     steps:
     steps:
-      - uses: actions/checkout@v1
+      - uses: actions/checkout@v4
       - name: build Odin
       - name: build Odin
         shell: cmd
         shell: cmd
         run: |
         run: |
@@ -45,7 +45,7 @@ jobs:
     if: github.repository == 'odin-lang/Odin'
     if: github.repository == 'odin-lang/Odin'
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/checkout@v1
+      - uses: actions/checkout@v4
       - name: (Linux) Download LLVM
       - name: (Linux) Download LLVM
         run: |
         run: |
           wget https://apt.llvm.org/llvm.sh
           wget https://apt.llvm.org/llvm.sh
@@ -79,7 +79,7 @@ jobs:
     if: github.repository == 'odin-lang/Odin'
     if: github.repository == 'odin-lang/Odin'
     runs-on: macos-13
     runs-on: macos-13
     steps:
     steps:
-      - uses: actions/checkout@v1
+      - uses: actions/checkout@v4
       - name: Download LLVM and setup PATH
       - name: Download LLVM and setup PATH
         run: |
         run: |
           brew install llvm@17 dylibbundler
           brew install llvm@17 dylibbundler
@@ -113,7 +113,7 @@ jobs:
     if: github.repository == 'odin-lang/Odin'
     if: github.repository == 'odin-lang/Odin'
     runs-on: macos-14 # ARM machine
     runs-on: macos-14 # ARM machine
     steps:
     steps:
-      - uses: actions/checkout@v1
+      - uses: actions/checkout@v4
       - name: Download LLVM and setup PATH
       - name: Download LLVM and setup PATH
         run: |
         run: |
           brew install llvm@17 dylibbundler
           brew install llvm@17 dylibbundler
@@ -146,7 +146,7 @@ jobs:
     runs-on: [ubuntu-latest]
     runs-on: [ubuntu-latest]
     needs: [build_windows, build_macos, build_macos_arm, build_ubuntu]
     needs: [build_windows, build_macos, build_macos_arm, build_ubuntu]
     steps:
     steps:
-      - uses: actions/checkout@v1
+      - uses: actions/checkout@v4
       - uses: actions/setup-python@v2
       - uses: actions/setup-python@v2
         with:
         with:
           python-version: '3.8.x'
           python-version: '3.8.x'
@@ -193,4 +193,4 @@ jobs:
           python3 ci/nightly.py artifact macos-amd64 macos_artifacts/dist.zip
           python3 ci/nightly.py artifact macos-amd64 macos_artifacts/dist.zip
           python3 ci/nightly.py artifact macos-arm64 macos_arm_artifacts/dist.zip
           python3 ci/nightly.py artifact macos-arm64 macos_arm_artifacts/dist.zip
           python3 ci/nightly.py prune
           python3 ci/nightly.py prune
-          python3 ci/nightly.py json
+          python3 ci/nightly.py json