From 5693ac466111470dacb1a94516afed10153bfff9 Mon Sep 17 00:00:00 2001 From: Thomas Judd-Cooper Date: Fri, 23 Jun 2023 12:19:27 +0100 Subject: [PATCH] Remove CloudFront lambda build --- .github/workflows/release.yaml | 43 ++-------------------------------- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1284d97..f875e2c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,53 +23,14 @@ jobs: echo "prerelease=false" >> "$GITHUB_OUTPUT" fi - build_cloudfront_logs_lambda: - name: Build CloudFront Logs Lambda for Node.js v${{ matrix.nodejs_version }} - runs-on: ubuntu-latest - - strategy: - matrix: - nodejs_version: ["18.x"] - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.nodejs_version }} - cache: yarn - cache-dependency-path: modules/cloudfront-logs/lambda/yarn.lock - - - name: Install Dependencies - run: make install-cloudfront-logs-lambda - - - name: Build Lambda - run: make build-cloudfront-logs-lambda - - - name: Copy Lambda Asset - run: cp modules/cloudfront-logs/lambda/dist/lambda.zip cloudfront-logs-package-nodejs${{ matrix.nodejs_version }}.zip - - - name: Store Output Artifact - uses: actions/upload-artifact@v3 - with: - name: cloudfront-logs-packages - path: cloudfront-logs-package-nodejs${{ matrix.nodejs_version }}.zip - if-no-files-found: error - publish_release: name: Publish Release ${{ github.ref_name }} - needs: [get_metadata, build_cloudfront_logs_lambda] + needs: [get_metadata] runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 - - - name: Display structure of downloaded files - run: ls -R - - name: Publish Release uses: "marvinpinto/action-automatic-releases@v1.2.1" with: repo_token: ${{ secrets.GITHUB_TOKEN }} automatic_release_tag: ${{ github.ref_name }} - prerelease: ${{ needs.get_metadata.outputs.prerelease }} - files: cloudfront-logs-packages/*.zip \ No newline at end of file + prerelease: ${{ needs.get_metadata.outputs.prerelease }} \ No newline at end of file