commit 83d76a2905969f3da24037290823350dcb48567f parent 458ca5cb9a5b6b531878a397e089b1a8d41f32c6 Author: typable <contact@typable.dev> Date: Wed, 1 Nov 2023 14:07:53 +0100 Updated build workflow Diffstat:
A | .gitea/workflows/build.yaml | | | 17 | +++++++++++++++++ |
D | .gitea/workflows/demo.yaml | | | 20 | -------------------- |
2 files changed, 17 insertions(+), 20 deletions(-)
diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml @@ -0,0 +1,16 @@ +name: Runner +run-name: ${{ gitea.actor }} is building +on: [push] + +jobs: + Build: + runs-on: ubuntu-latest + steps: + uses: actions/checkout@v3 + - name: Build + run: gradle build + - name: Upload artifacts + uses: actions/upload-artifact@v3 + with: + path: | + build/libs/poppy.jar +\ No newline at end of file diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml @@ -1,19 +0,0 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] - -jobs: - Explore-Gitea-Actions: - runs-on: ubuntu-latest - steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.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 ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v3 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." -\ No newline at end of file