parent
3cd1d2455f
commit
54fda6c0bf
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -1,18 +1,21 @@
|
|||||||
name: Builds
|
name: Builds
|
||||||
on:
|
run-name: ${{ github.actor }} testing Gitea Actions
|
||||||
push:
|
on: [push]
|
||||||
branches:
|
|
||||||
- '**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
xtchain:
|
XTChain:
|
||||||
runs-on: oscw
|
runs-on: oscw
|
||||||
container:
|
container:
|
||||||
image: codingworkshop/oscw-runner:latest
|
image: codingworkshop/oscw-runner:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Build
|
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
|
||||||
|
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Build XTChain
|
||||||
run: CORES=10 ./build-linux.sh
|
run: CORES=10 ./build-linux.sh
|
||||||
- name: Publish
|
- name: Publish binaries
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
@ -21,3 +24,4 @@ jobs:
|
|||||||
OSCW_GITHUB_USERNAME: ${{ secrets.OSCW_GITHUB_USERNAME }}
|
OSCW_GITHUB_USERNAME: ${{ secrets.OSCW_GITHUB_USERNAME }}
|
||||||
OSCW_GITHUB_PASSWORD: ${{ secrets.OSCW_GITHUB_PASSWORD }}
|
OSCW_GITHUB_PASSWORD: ${{ secrets.OSCW_GITHUB_PASSWORD }}
|
||||||
run: github_publish $OSCW_GITHUB_USERNAME $OSCW_GITHUB_PASSWORD $(ls xtchain-*-linux.tar.zst)
|
run: github_publish $OSCW_GITHUB_USERNAME $OSCW_GITHUB_PASSWORD $(ls xtchain-*-linux.tar.zst)
|
||||||
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
Loading…
Reference in New Issue
Block a user