parent
3cd1d2455f
commit
54fda6c0bf
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -1,18 +1,21 @@
|
||||
name: Builds
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
run-name: ${{ github.actor }} testing Gitea Actions
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
xtchain:
|
||||
XTChain:
|
||||
runs-on: oscw
|
||||
container:
|
||||
image: codingworkshop/oscw-runner:latest
|
||||
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
|
||||
- name: Publish
|
||||
- name: Publish binaries
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
@ -21,3 +24,4 @@ jobs:
|
||||
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)
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
|
Loading…
Reference in New Issue
Block a user