ReFuel.StbImage/.gitea/workflows/build.yaml

29 lines
702 B
YAML
Raw Permalink Normal View History

name: Build
2024-06-14 17:32:16 +02:00
run-name: Building with docker container.
on:
workflow_dispatch:
2024-06-14 17:44:56 +02:00
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
container:
2024-06-14 17:32:16 +02:00
image: git.mixedup.dev/refuel/docker-cross-compiler
env:
2024-06-14 17:48:41 +02:00
REFUEL_API_KEY: "${{secrets.REFUEL_API_KEY}}"
2024-06-14 17:32:16 +02:00
NUGET_USER_NAME: "${{vars.NUGET_USER_NAME}}"
NUGET_INDEX: "${{vars.NUGET_INDEX}}"
volumes:
2024-06-14 17:32:16 +02:00
- ${{ gitea.workspace }}:/home/refuel/src
steps:
- name: Check repository out.
uses: actions/checkout@v3
with:
submodules: recursive
- name: Run Build Script
run: "./build_native.sh"
- name: Publish Package
run: "./publish.sh"