From 8c43594ea4ad2e47cc50c044908422be8a04f6fc Mon Sep 17 00:00:00 2001 From: Oz Date: Thu, 12 Oct 2023 14:56:54 +0300 Subject: [PATCH 1/3] add support for ubuntu 20 --- .github/workflows/gambit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gambit.yml b/.github/workflows/gambit.yml index 5d05820..55ac74a 100644 --- a/.github/workflows/gambit.yml +++ b/.github/workflows/gambit.yml @@ -8,7 +8,7 @@ env: jobs: build-linux: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: TAG: ${{ github.ref_name }} steps: From d8261a22607666f510c9eb3a9af12a18f03a119f Mon Sep 17 00:00:00 2001 From: Oz Date: Thu, 12 Oct 2023 14:59:21 +0300 Subject: [PATCH 2/3] upload artifact for testing --- .github/workflows/gambit.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gambit.yml b/.github/workflows/gambit.yml index 55ac74a..232e488 100644 --- a/.github/workflows/gambit.yml +++ b/.github/workflows/gambit.yml @@ -36,15 +36,15 @@ jobs: run: make all_linux - name: Rename gambit binary - if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation - run: mv ./target/x86_64-unknown-linux-gnu/release/gambit ./target/x86_64-unknown-linux-gnu/release/gambit-linux-$TAG + # if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation + run: mv ./target/x86_64-unknown-linux-gnu/release/gambit ./target/x86_64-unknown-linux-gnu/release/gambit-ubuntu-20 - name: Upload artifact to action uses: actions/upload-artifact@v3 - if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation + # if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation with: - name: gambit-linux-${{ env.TAG }} - path: ./target/x86_64-unknown-linux-gnu/release/gambit-linux-${{ env.TAG }} + name: gambit-ubuntu-20 + path: ./target/x86_64-unknown-linux-gnu/release/gambit-ubuntu-20 build-mac: runs-on: macos-latest From 571a8c3f2f7cc6333c6f6678b5524268dabfbbef Mon Sep 17 00:00:00 2001 From: Oz Date: Thu, 12 Oct 2023 16:02:00 +0300 Subject: [PATCH 3/3] restore artifact upload changes --- .github/workflows/gambit.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gambit.yml b/.github/workflows/gambit.yml index 232e488..55ac74a 100644 --- a/.github/workflows/gambit.yml +++ b/.github/workflows/gambit.yml @@ -36,15 +36,15 @@ jobs: run: make all_linux - name: Rename gambit binary - # if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation - run: mv ./target/x86_64-unknown-linux-gnu/release/gambit ./target/x86_64-unknown-linux-gnu/release/gambit-ubuntu-20 + if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation + run: mv ./target/x86_64-unknown-linux-gnu/release/gambit ./target/x86_64-unknown-linux-gnu/release/gambit-linux-$TAG - name: Upload artifact to action uses: actions/upload-artifact@v3 - # if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation + if: startsWith(github.event.ref, 'refs/tags/v') # only on new tag creation with: - name: gambit-ubuntu-20 - path: ./target/x86_64-unknown-linux-gnu/release/gambit-ubuntu-20 + name: gambit-linux-${{ env.TAG }} + path: ./target/x86_64-unknown-linux-gnu/release/gambit-linux-${{ env.TAG }} build-mac: runs-on: macos-latest