summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-10 10:47:09 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-10 10:47:09 -0700
commit19acf3bb36c1e44274297c806b89b589ca02f5ba (patch)
treee04f9792f8adb17c219f6dd98bdcba54872ef41b /.github
parentee4701dc45cd540728302ca8a09e9b7ce842597f (diff)
downloadsncontinue-19acf3bb36c1e44274297c806b89b589ca02f5ba.tar.gz
sncontinue-19acf3bb36c1e44274297c806b89b589ca02f5ba.tar.bz2
sncontinue-19acf3bb36c1e44274297c806b89b589ca02f5ba.zip
fix: :green_heart: testing for failure to package dist in vsix
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yaml108
1 files changed, 58 insertions, 50 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 99b30201..03855b64 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -180,55 +180,63 @@ jobs:
cd extension
npm ci
- - name: Publish
- run: |
- cd extension
- npx vsce publish patch -p ${{ secrets.VSCE_TOKEN }}
- - name: Commit changes
- run: |
- git config --local user.email "action@github.com"
- git config --local user.name "GitHub Action"
- git commit -am "ci: 💚 Update package.json version [skip ci]"
- - name: Push changes
- uses: ad-m/github-push-action@master
- with:
- 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
+ - name: Upload .vsix a second time
+ uses: actions/upload-artifact@v2
with:
- aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
- aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- aws-region: us-west-1
+ name: vsix-artifact
+ path: extension/build
- - name: Upload binaries to S3
- uses: jakejarvis/s3-sync-action@master
- with:
- args: --acl public-read --follow-symlinks --delete
- env:
- AWS_S3_BUCKET: continue-server-binaries
- AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
- AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- AWS_REGION: "us-west-1"
- SOURCE_DIR: "exe"
+ # - name: Publish
+ # run: |
+ # cd extension
+ # npx vsce publish patch -p ${{ secrets.VSCE_TOKEN }}
+
+ # - name: Commit changes
+ # run: |
+ # git config --local user.email "action@github.com"
+ # git config --local user.name "GitHub Action"
+ # git commit -am "ci: 💚 Update package.json version [skip ci]"
+
+ # - name: Push changes
+ # uses: ad-m/github-push-action@master
+ # with:
+ # 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-1
+
+ # - name: Upload binaries to S3
+ # uses: jakejarvis/s3-sync-action@master
+ # with:
+ # args: --acl public-read --follow-symlinks --delete
+ # env:
+ # AWS_S3_BUCKET: continue-server-binaries
+ # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ # AWS_REGION: "us-west-1"
+ # SOURCE_DIR: "exe"