mirror of
https://github.com/nadoo/glider.git
synced 2026-04-24 21:20:12 +08:00
Change build workflow to trigger on main branch
This commit is contained in:
parent
b48312f909
commit
539439b683
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -2,7 +2,7 @@ name: Build
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "dev"
|
- "main"
|
||||||
tags:
|
tags:
|
||||||
- "*"
|
- "*"
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -49,7 +49,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: "!startsWith(github.ref, 'refs/tags/')"
|
if: "!startsWith(github.ref, 'refs/tags/')"
|
||||||
with:
|
with:
|
||||||
name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}
|
name: ${{ env.APP_NAME }}-main-${{ env.SHA_SHORT }}
|
||||||
path: |
|
path: |
|
||||||
./dist/default_linux_amd64_v1/${{ env.APP_NAME }}
|
./dist/default_linux_amd64_v1/${{ env.APP_NAME }}
|
||||||
./dist/default_linux_arm64/${{ env.APP_NAME }}
|
./dist/default_linux_arm64/${{ env.APP_NAME }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user