diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db40ecb..c130146 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}."