From 47c013eab8635eb52917ebddbe70bc8496253abf Mon Sep 17 00:00:00 2001 From: Solomon Jacobs Date: Mon, 6 Nov 2023 16:06:11 +0100 Subject: [PATCH] Move versioning of RCC into workflow file In order to turn Robotmk into an OMD package, we need to have a single reference, which allows create a reproducible build. To accomplish this, the workflow files should make our requirements explicitly. A submodule is explicit enough, but it differs from the way we pin other requirements. CMK-14985 --- .github/workflows/rcc.yaml | 9 ++++----- rcc | 1 - 2 files changed, 4 insertions(+), 6 deletions(-) delete mode 160000 rcc diff --git a/.github/workflows/rcc.yaml b/.github/workflows/rcc.yaml index f26d452c..1857fe67 100644 --- a/.github/workflows/rcc.yaml +++ b/.github/workflows/rcc.yaml @@ -18,7 +18,8 @@ jobs: - name: "Checkout repository" uses: actions/checkout@v4 with: - submodules: true + repository: robocorp/rcc + ref: v14.15.4 - name: "Setup Go" uses: actions/setup-go@v3 @@ -31,15 +32,13 @@ jobs: ruby-version: '2.7' - name: "Build RCC" - working-directory: rcc run: rake build - name: "Test RCC" - working-directory: rcc run: rake test - name: "Upload RCC binaries" uses: actions/upload-artifact@v3 with: - name: rcc - path: rcc/build + path: build + if-no-files-found: error diff --git a/rcc b/rcc deleted file mode 160000 index c74154fa..00000000 --- a/rcc +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c74154fa919f620176adbf5a2804a8e960df5a29