This commit is contained in:
@@ -29,6 +29,12 @@ jobs:
|
||||
mkdir -p dist
|
||||
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
|
||||
if: startsWith(gitea.ref, 'refs/tags/')
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user