Migrate to Gitea Actions
Builds / XTChain (push) Successful in 1h22m2s
Details
Builds / XTChain (push) Successful in 1h22m2s
Details
This commit is contained in:
parent
7fb2227034
commit
b9d0458a65
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)
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
name: Builds
|
||||||
|
run-name: ${{ github.actor }} runs Gitea Actions
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
XTChain:
|
||||||
|
runs-on: oscw
|
||||||
|
container:
|
||||||
|
image: codingworkshop/oscw-runner:latest
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Build XTChain
|
||||||
|
run: CORES=10 ./build-linux.sh
|
||||||
|
- name: Publish binaries
|
||||||
|
if: github.ref_type == 'tag'
|
||||||
|
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