diff --git a/.github/workflows/generate_firmware.yaml b/.github/workflows/generate_firmware.yaml index a34a89da..0a8e541c 100644 --- a/.github/workflows/generate_firmware.yaml +++ b/.github/workflows/generate_firmware.yaml @@ -35,6 +35,8 @@ jobs: - name: Install Simplicity SDK if: always() run: | + mkdir simplicity_studio + cd simplicity_studio git clone $SIM_REPO cd simplicity_sdk ls -la @@ -170,6 +172,8 @@ jobs: - name: Install Simplicity SDK if: always() run: | + mkdir simplicity_studio + cd simplicity_studio git clone $SIM_REPO cd simplicity_sdk ls -la diff --git a/.github/workflows/integration_test_auto.yaml b/.github/workflows/integration_test_auto.yaml index ab8deb6d..1fde720d 100644 --- a/.github/workflows/integration_test_auto.yaml +++ b/.github/workflows/integration_test_auto.yaml @@ -7,8 +7,8 @@ on: - '**' # matches every branch env: REPO_URL: ${{ github.server_url }}/${{ github.repository }} - REPO_BRANCH: ${{ github.event.inputs.branch }} - REPO_NAME: ${{ github.repository }} + REPO_BRANCH: ${{ github.head_ref || github.ref_name }} + REPO_NAME: ${{ github.event.repository.name }} JLINK_PATH: /opt/SEGGER/JLink/libjlinkarm.so SDK_PATH: /home/sqa/SimplicityStudio/SDKs/gecko_sdk jobs: @@ -33,8 +33,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4.1.7 - with: - ref: "${{ github.event.inputs.branch }}" + - name: Add extension run: | cd $SDK_PATH diff --git a/.github/workflows/unit_test_auto.yaml b/.github/workflows/unit_test_auto.yaml index 7909a5d2..bc30a840 100644 --- a/.github/workflows/unit_test_auto.yaml +++ b/.github/workflows/unit_test_auto.yaml @@ -7,8 +7,8 @@ on: - '**' # matches every branch env: REPO_URL: ${{ github.server_url }}/${{ github.repository }} - REPO_BRANCH: ${{ github.event.inputs.branch }} - REPO_NAME: ${{ github.repository }} + REPO_BRANCH: ${{ github.head_ref || github.ref_name }} + REPO_NAME: ${{ github.event.repository.name }} JLINK_PATH: /opt/SEGGER/JLink/libjlinkarm.so SDK_PATH: /home/sqa/SimplicityStudio/SDKs/gecko_sdk jobs: @@ -33,8 +33,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4.1.7 - with: - ref: "${{ github.event.inputs.branch }}" + - name: Add extension run: | cd $SDK_PATH