From d7e56f9c8279d8b46e5556579fc2e2b73c279ee9 Mon Sep 17 00:00:00 2001 From: Wojciech Sipak Date: Wed, 9 Oct 2024 20:11:48 +0200 Subject: [PATCH] remove get-renode [skip ci] --- .github/workflows/get-renode.yml | 57 -------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 .github/workflows/get-renode.yml diff --git a/.github/workflows/get-renode.yml b/.github/workflows/get-renode.yml deleted file mode 100644 index 57c7beeaf41..00000000000 --- a/.github/workflows/get-renode.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Get Renode - -on: - workflow_call: - -jobs: - -#--------------# -# Renode -#--------------# - renode: - name: Get Renode - runs-on: ubuntu-latest - env: - TOOL_NAME: renode - TOOL_VERSION: 1.15.3+20240924gitc7bc336bb - DEBIAN_FRONTEND: "noninteractive" - - steps: - - name: Setup Cache Metadata - id: cache_metadata - run: | - cache_date=$(date +"%Y_%m_%d") - cache_name=cache_${{ env.TOOL_NAME }}_${{ env.TOOL_VERSION }} - echo "Cache date: "$cache_date - echo "Cache name: "$cache_name - echo "cache_date=$cache_date" >> "$GITHUB_ENV" - echo "cache_name=$cache_name" >> "$GITHUB_ENV" - - - name: Setup cache - uses: actions/cache@v3 - id: cache - timeout-minutes: 60 - with: - path: | - /opt/renode - key: ${{ env.cache_name }}_${{ env.cache_date }} - restore-keys: ${{ env.cache_name }}_ - - - name: Get Renode - if: ${{ steps.cache.outputs.cache-hit != 'true' }} - run: | - wget https://builds.renode.io/renode-${{ env.TOOL_VERSION}}.linux-portable.tar.gz - - - name: Rename the archive - if: ${{ steps.cache.outputs.cache-hit != 'true' }} - run: | - mv ${{ github.workspace }}/renode-*.tar.gz ${{ github.workspace }}/renode.tar.gz - - - name: Unpack binaries - if: ${{ steps.cache.outputs.cache-hit != 'true' }} - run: | - pushd /opt - mv ${{ github.workspace }}/renode.tar.gz . - mkdir -p renode - tar -zxvf renode.tar.gz --strip-components=1 -C renode/ - popd