name: Builds run-name: ${{ github.actor }} testing Gitea Actions on: [push] jobs: XTChain: runs-on: oscw container: image: codingworkshop/oscw-runner:latest steps: - 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 binaries 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) - run: echo "This job's status is ${{ job.status }}."