parent
2da20a4eba
commit
3cd1d2455f
14
.build.yml
14
.build.yml
@ -1,14 +0,0 @@
|
|||||||
pipeline:
|
|
||||||
build:
|
|
||||||
image: codingworkshop/oscw-runner:latest
|
|
||||||
commands:
|
|
||||||
- CORES=10 ./build-linux.sh
|
|
||||||
publish:
|
|
||||||
image: codingworkshop/oscw-runner:latest
|
|
||||||
secrets:
|
|
||||||
- OSCW_GITHUB_USERNAME
|
|
||||||
- OSCW_GITHUB_PASSWORD
|
|
||||||
when:
|
|
||||||
event: tag
|
|
||||||
commands:
|
|
||||||
- github_publish $OSCW_GITHUB_USERNAME $OSCW_GITHUB_PASSWORD $(ls xtchain-*-linux.tar.zst)
|
|
23
.github/workflows/build.yml
vendored
Normal file
23
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: Builds
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
xtchain:
|
||||||
|
runs-on: oscw
|
||||||
|
container:
|
||||||
|
image: codingworkshop/oscw-runner:latest
|
||||||
|
steps:
|
||||||
|
- name: Build
|
||||||
|
run: CORES=10 ./build-linux.sh
|
||||||
|
- name: Publish
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '**'
|
||||||
|
env:
|
||||||
|
OSCW_GITHUB_USERNAME: ${{ secrets.OSCW_GITHUB_USERNAME }}
|
||||||
|
OSCW_GITHUB_PASSWORD: ${{ secrets.OSCW_GITHUB_PASSWORD }}
|
||||||
|
run: github_publish $OSCW_GITHUB_USERNAME $OSCW_GITHUB_PASSWORD $(ls xtchain-*-linux.tar.zst)
|
Loading…
Reference in New Issue
Block a user