From be74c742c584bc5b71e3cdb4635a1f2c72a37e90 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Fri, 13 Jan 2023 20:56:47 +0700 Subject: [PATCH] remove `-latex` suffix in the matrix os strategy --- .github/workflows/test.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b12f53f..6c42d3e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,10 +4,10 @@ on: push: jobs: use-action: - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.os }}-latest strategy: matrix: - os: [windows-latest, ubuntu-latest, macos-latest] + os: [windows, ubuntu, macos] steps: - name: Checkout repository uses: actions/checkout@v3.3.0 @@ -19,7 +19,7 @@ jobs: uses: ./ - name: Run build result - run: ${{ matrix.os == 'windows-latest' && 'build\Debug\hello_world.exe' || 'build/hello_world' }} + run: ${{ matrix.os == 'windows' && 'build\Debug\hello_world.exe' || 'build/hello_world' }} use-action-with-specified-dir: runs-on: ubuntu-latest @@ -40,10 +40,10 @@ jobs: run: test ! -d build use-action-with-specified-compiler: - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.os }}-latest strategy: matrix: - os: [windows-latest, ubuntu-latest, macos-latest] + os: [windows, ubuntu, macos] steps: - name: Checkout repository uses: actions/checkout@v3.3.0 @@ -62,10 +62,10 @@ jobs: run: build/test_c && build/test_cpp use-action-with-specified-generator: - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.os }}-latest strategy: matrix: - os: [windows-latest, ubuntu-latest, macos-latest] + os: [windows, ubuntu, macos] steps: - name: Checkout repository uses: actions/checkout@v3.3.0