This commit is contained in:
@@ -29,6 +29,12 @@ jobs:
|
|||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
go build -v -o dist/samba-configer .
|
go build -v -o dist/samba-configer .
|
||||||
|
|
||||||
|
- name: Check upload auth
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
run: |
|
||||||
|
test -n "$GITEA_TOKEN" || { echo "GITEA_TOKEN is empty"; exit 1; }
|
||||||
|
|
||||||
- name: Upload package
|
- name: Upload package
|
||||||
if: startsWith(gitea.ref, 'refs/tags/')
|
if: startsWith(gitea.ref, 'refs/tags/')
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user