1
This commit is contained in:
31
.gitea/workflows/build.yml
Normal file
31
.gitea/workflows/build.yml
Normal 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'
|
||||||
Reference in New Issue
Block a user