Skip to content

Commit

Permalink
Fix for aws credential fetching error while running workflows (#470)
Browse files Browse the repository at this point in the history
* Modified condition to create default sample shadow directory

* Updated versions in build.yml for aws credential fetch

* Updated build.yml to revert version of configure-aws-credentials to v1

---------

Co-authored-by: Ubuntu <[email protected]>
  • Loading branch information
ig15 and Ubuntu authored Nov 6, 2024
1 parent 5284d04 commit 0e39030
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE
- name: Archive ubuntu Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
name: "DC.ubuntu.x64.${{ env.PACKAGE_NAME }}.static"
path: |
./build/${{ env.PACKAGE_NAME }}
- name: Archive setup files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -77,15 +77,15 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE
- name: Archive amazonlinux Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
name: "DC.amazonlinux.x64.${{ env.PACKAGE_NAME }}.static"
path: |
./build/${{ env.PACKAGE_NAME }}
- name: Archive setup files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -117,15 +117,15 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE
- name: Archive rhel-ubi8 Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
name: "DC.rhel.x64.${{ env.PACKAGE_NAME }}.static"
path: |
./build/${{ env.PACKAGE_NAME }}
- name: Archive setup files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -211,15 +211,15 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE --compile-mode=armhf_cross_mode
- name: Archive armhf32 Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
name: "DC.linux.armhf.${{ env.PACKAGE_NAME }}.static"
path: |
./build/${{ env.PACKAGE_NAME }}
- name: Archive setup files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -251,15 +251,15 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE --compile-mode=mips_cross_mode
- name: Archive mips32 Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
name: "DC.linux.mips.${{ env.PACKAGE_NAME }}.static"
path: |
./build/${{ env.PACKAGE_NAME }}
- name: Archive setup files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -291,15 +291,15 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE --compile-mode=aarch64_cross_mode
- name: Archive aarch64 Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
name: "DC.linux.aarch64.${{ env.PACKAGE_NAME }}.static"
path: |
./build/${{ env.PACKAGE_NAME }}
- name: Archive setup files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -331,15 +331,15 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE --compile-mode=ppc64_cross_mode
- name: Archive aarch64 Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
name: "DC.linux.ppc64.${{ env.PACKAGE_NAME }}.static"
path: |
./build/${{ env.PACKAGE_NAME }}
- name: Archive setup files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -371,15 +371,15 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE --compile-mode=ppc64le_cross_mode
- name: Archive aarch64 Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
name: "DC.linux.ppc64le.${{ env.PACKAGE_NAME }}.static"
path: |
./build/${{ env.PACKAGE_NAME }}
- name: Archive setup files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -411,7 +411,7 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE --compile-mode=st_component_mode
- name: Archive ST Ubuntu aarch64 Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -443,7 +443,7 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE --compile-mode=st_aarch64_cross_mode
- name: Archive ST Ubuntu aarch64 Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
Expand Down Expand Up @@ -475,10 +475,10 @@ jobs:
docker pull $DOCKER_IMAGE
docker run --mount type=bind,source=$(pwd),target=/root/${{ env.PACKAGE_NAME }} --env GITHUB_REF $DOCKER_IMAGE --compile-mode=st_armhf_cross_mode
- name: Archive st armhf32 Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
# Run for main branch only
if: github.ref == 'refs/heads/main'
with:
name: "ST.linux.armhf.${{ env.PACKAGE_NAME }}"
path: |
./build/${{ env.PACKAGE_NAME }}
./build/${{ env.PACKAGE_NAME }}

0 comments on commit 0e39030

Please sign in to comment.