Files
az-map/.gitea/workflows/build.yml
2024-12-21 02:36:50 +08:00

32 lines
777 B
YAML

name: BUILD
on:
push:
branches: [main]
env:
DOCKER_BUILDKIT: 1
DOCKER_CLI_EXPERIMENTAL: enabled
jobs:
sairen:
runs-on: lab-linux-amd64
steps:
- name: Clone repository
run: |
git -c http.sslVerify=false clone -b main https://${{ secrets.GITHUB_TOKEN }}@home.azw.net.cn:60030/azwlabgit/${{ github.repository }}.git
- name: build
run: |
cd az-map
sh tools/sairen.sh
- name: compress
run: |
cd az-map
tar -zcvf sairen-map.tar.gz release/sairen
- name: Upload
uses: https://gitea.com/actions/gitea-release-action@v1
with:
files: |-
az-map/archive.zip
api_key: '${{ secrets.GITHUB_TOKEN }}'
tag_name: 'sairen'