From b4d59917cc3f0a30a56ef51ce11e6202cd01e0a1 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Wed, 9 Aug 2023 18:35:51 -0700 Subject: ci: :green_heart: fixes to ci --- .github/workflows/main.yaml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to '.github') diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1ef09d37..4f1e538c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -116,21 +116,20 @@ jobs: run: | cd extension npm run test - + - name: Remove exe directory and re-package run: | cd extension rm -rf server/exe npm run package - - Upload .vsix as an artifact + - name: Upload .vsix as an artifact uses: actions/upload-artifact@v2 with: name: vsix-artifact path: extension/build/* if: matrix.os == 'ubuntu-20.04' - publish: needs: test-and-package runs-on: ubuntu-20.04 @@ -163,12 +162,32 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ github.ref }} + # Download binaries and upload to S3 + + - name: Download Linux build + uses: actions/download-artifact@v2 + with: + name: Linux Build + path: exe/linux + + - name: Download macOS build + uses: actions/download-artifact@v2 + with: + name: macOS Build + path: exe/mac + + - name: Download Windows build + uses: actions/download-artifact@v2 + with: + name: Windows Build + path: exe/windows + - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: us-west-2 + aws-region: us-west-1 - name: Upload binaries to S3 uses: jakejarvis/s3-sync-action@master -- cgit v1.2.3-70-g09d2