This commit is contained in:
azw
2024-12-21 02:36:50 +08:00
parent 7338a000a7
commit f135d36fc0

View File

@@ -0,0 +1,31 @@
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'