diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 40de7b13..37b082f8 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -11,14 +11,13 @@ jobs: os: [ubuntu-22.04] steps: - name: Checkout git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: main + submodules: 'true' - name: Preparations working-directory: main run: | - # The 'submodules' option for actions/checkout@v2 doesn't - # seem to work. So we manually sync it just in case. git submodule init git submodule update sudo apt update diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index fa9f8eda..12cb05e9 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -15,14 +15,13 @@ jobs: os: [ubuntu-20.04, ubuntu-22.04] steps: - name: Checkout git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: main + submodules: 'true' - name: Preparations working-directory: main run: | - # The 'submodules' option for actions/checkout@v2 doesn't - # seem to work. So we manually sync it just in case. git submodule init git submodule update sudo apt update diff --git a/.github/workflows/development_macos.yml b/.github/workflows/development_macos.yml index 80c5eb9f..cd498b9d 100644 --- a/.github/workflows/development_macos.yml +++ b/.github/workflows/development_macos.yml @@ -15,14 +15,13 @@ jobs: os: [macos-11] steps: - name: Checkout git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: main + submodules: 'true' - name: Preparations working-directory: main run: | - # The 'submodules' option for actions/checkout@v2 doesn't - # seem to work. So we manually sync it just in case. git submodule init git submodule update brew install cmake ninja gcc p7zip diff --git a/.github/workflows/fuzz-coverage.yml b/.github/workflows/fuzz-coverage.yml index 08c59da9..e5acef4f 100644 --- a/.github/workflows/fuzz-coverage.yml +++ b/.github/workflows/fuzz-coverage.yml @@ -11,14 +11,13 @@ jobs: os: [ubuntu-22.04] steps: - name: Checkout git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: main + submodules: 'true' - name: Preparations working-directory: main run: | - # The 'submodules' option for actions/checkout@v2 doesn't - # seem to work. So we manually sync it just in case. git submodule init git submodule update sudo apt update diff --git a/.github/workflows/manually_release.yml b/.github/workflows/manually_release.yml index 1226fb61..b4fbe21c 100644 --- a/.github/workflows/manually_release.yml +++ b/.github/workflows/manually_release.yml @@ -13,14 +13,18 @@ jobs: contents: write steps: - name: Checkout git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: main submodules: 'true' - name: Build zips & 7zs - run: python main/compiler/scripts/manual_release.py + run: | + echo "Running manual release" + pwd + git rev-parse HEAD + python main/compiler/scripts/manual_release.py - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | main/compiler/comp_output_test/yaksha_v*.7z @@ -39,14 +43,18 @@ jobs: - name: Install software run: brew install cmake ninja gcc p7zip - name: Checkout git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: main submodules: 'true' - name: Build zips & 7zs - run: python main/compiler/scripts/manual_release.py + run: | + echo "Running manual release" + pwd + git rev-parse HEAD + python main/compiler/scripts/manual_release.py - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | main/compiler/comp_output_test/yaksha_v*.7z diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 668d1fba..2435f137 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,14 +16,14 @@ jobs: contents: write steps: - name: Checkout git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: main submodules: 'true' - name: Build zips & 7zs run: python main/compiler/scripts/release.py - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | main/compiler/comp_output_test/yaksha_v*.7z diff --git a/.github/workflows/release_macos.yml b/.github/workflows/release_macos.yml index 1096ff01..57d00b5b 100644 --- a/.github/workflows/release_macos.yml +++ b/.github/workflows/release_macos.yml @@ -18,14 +18,14 @@ jobs: - name: Install software run: brew install cmake ninja gcc p7zip - name: Checkout git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: main submodules: 'true' - name: Build zips & 7zs run: python main/compiler/scripts/release.py - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | main/compiler/comp_output_test/yaksha_v*.7z