test: ✅ do full ci run
This commit is contained in:
parent
788915b243
commit
2ce18bd7ee
1 changed files with 47 additions and 53 deletions
100
.github/workflows/main.yaml
vendored
100
.github/workflows/main.yaml
vendored
|
|
@ -180,63 +180,57 @@ jobs:
|
|||
cd extension
|
||||
npm ci
|
||||
|
||||
- name: Upload .vsix a second time
|
||||
uses: actions/upload-artifact@v2
|
||||
- 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:
|
||||
name: vsix-artifact-2
|
||||
path: extension/build
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
|
||||
# - name: Publish
|
||||
# run: |
|
||||
# cd extension
|
||||
# npx vsce publish patch -p ${{ secrets.VSCE_TOKEN }}
|
||||
# Download binaries and upload to S3
|
||||
|
||||
# - 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: Download Linux build
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: Linux Build
|
||||
path: exe/linux
|
||||
|
||||
# - name: Push changes
|
||||
# uses: ad-m/github-push-action@master
|
||||
# with:
|
||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# branch: ${{ github.ref }}
|
||||
- name: Download macOS build
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: macOS Build
|
||||
path: exe/mac
|
||||
|
||||
# # Download binaries and upload to S3
|
||||
- name: Download Windows build
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: Windows Build
|
||||
path: exe/windows
|
||||
|
||||
# - name: Download Linux build
|
||||
# uses: actions/download-artifact@v2
|
||||
# with:
|
||||
# name: Linux Build
|
||||
# path: exe/linux
|
||||
- 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: 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"
|
||||
- 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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue