Skip to content

removed vendor from git repository #394

removed vendor from git repository

removed vendor from git repository #394

Workflow file for this run

name: Build and Release
on:
workflow_dispatch:
push:
env:
CACHE_PATH: ${{ secrets.CACHE_PATH }}
VERSION: ${{ github.run_number }}
BRANCH: ${{ endsWith(github.ref, 'stable') && 'stable' || (endsWith(github.ref, 'preview') && 'preview' || 'unstable') }}
jobs:
build:
name: Build Image
runs-on: self-hosted
timeout-minutes: 47000
strategy:
matrix:
include:
- device: generic-x86_64
image: installer.iso
steps:
- uses: actions/checkout@v1
with:
token: ${{ secrets.CI_TOKEN }}
submodules: true
- run: rm -rf ${CACHE_PATH}/toolchain ${CACHE_PATH}/.done-*
- run: DEVICE=${{matrix.device}} go generate rlxos/tools/ignite
- run: ./tools/sync-modules.sh && go work vendor
- run: go run rlxos/tools/ignite -clean
- uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{env.CACHE_PATH}}/${{matrix.device}}/images/${{matrix.image}}
asset_name: rlxos-${{env.BRANCH}}-${{matrix.device}}-${{matrix.image}}
tag: ${{env.BRANCH}}-continuous
overwrite: true
body: ${{ github.event.head_commit.message }}