diff --git a/.github/workflows/sync-modules.yml b/.github/workflows/sync-modules.yml index 13ca389..3949dcb 100644 --- a/.github/workflows/sync-modules.yml +++ b/.github/workflows/sync-modules.yml @@ -45,11 +45,14 @@ jobs: cd le-tf-infra-aws-template chmod +x sync_modules.sh ./sync_modules.sh ../le-tf-infra-aws/${{ matrix.modules[0] }} template/${{ matrix.modules[1] }} + - name: Generate Artifact Name + id: artifact_name + run: echo "ARTIFACT=sed -e 's/\//_/g' <<< ${{ matrix.modules[1] }}" >> $GITHUB_OUTPUT - name: Upload Workspace uses: actions/upload-artifact@v4 with: path: ${{ github.workspace }} - name: pull-request-${{ github.job }} + name: pull-request-${{ steps.artifact_name.outputs.ARTIFACT }} include-hidden-files: true pull_request: runs-on: ubuntu-latest