Skip to content

Update coursier version, support arm64 #92

Update coursier version, support arm64

Update coursier version, support arm64 #92

Workflow file for this run

on:
push:
tags: ["v*"]
branches: ["main"]
pull_request:
name: Build and deploy
jobs:
build:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build & test
run: yarn ci
- name: Run Integration tests
uses: GabrielBB/[email protected]
with:
run: yarn test:it
deploy:
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
needs: build
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Install vsce and deps
run: |
yarn global add vsce
yarn install
- name: Publish
run: |
echo $RELEASE_VERSION
vsce publish -p $VSCODE_TOKEN --no-git-tag-version ${RELEASE_VERSION:1}
env:
VSCODE_TOKEN: ${{ secrets.VSCODE_TOKEN }}