update
This commit is contained in:
@@ -16,6 +16,9 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
|
- uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
check-latest: true
|
||||||
- name: "Build app"
|
- name: "Build app"
|
||||||
run: "python3 build.py"
|
run: "python3 build.py"
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
@@ -24,18 +27,13 @@ jobs:
|
|||||||
# Upload built files
|
# Upload built files
|
||||||
name: 'TeleSec-dist'
|
name: 'TeleSec-dist'
|
||||||
path: ./dist
|
path: ./dist
|
||||||
- name: "mkdir"
|
- name: "zip-it-up"
|
||||||
run: "mkdir -p _artifact"
|
run: "zip -r TeleSec-dist.zip ./dist"
|
||||||
- name: Download artifact
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: 'TeleSec-dist'
|
|
||||||
path: _artifact
|
|
||||||
- name: "List _artifact"
|
- name: "List _artifact"
|
||||||
run: "ls -la _artifact"
|
run: "ls -la _artifact"
|
||||||
- name: Upload as release
|
- name: Upload as release
|
||||||
uses: https://gitea.com/actions/release-action@main
|
uses: https://gitea.com/actions/release-action@main
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
_artifact/**
|
TeleSec-dist.zip
|
||||||
api_key: '${{secrets.TOKEN_PUSH_PLUS}}'
|
api_key: '${{secrets.TOKEN_PUSH_PLUS}}'
|
||||||
Reference in New Issue
Block a user