Skip to content

Update versions and add gitlab-workflow Dockerfile. #149

Update versions and add gitlab-workflow Dockerfile.

Update versions and add gitlab-workflow Dockerfile. #149

#
# Copyright (c) 2020 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
name: Extension Build
on:
pull_request:
paths:
- '**/extension.json'
- '**/Dockerfile'
jobs:
build-push:
runs-on: ubuntu-20.04
steps:
- name: Clone source code
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Build extension
run: |
./.ci/extension_build_publish.sh build-publish origin/${{ github.base_ref }} ${{ github.event.pull_request.head.sha }}
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
path: |
*.vsix
*-sources.tar.gz