TOKEN Modify
This commit is contained in:
25
.github/workflows/test-and-build.yml
vendored
25
.github/workflows/test-and-build.yml
vendored
@@ -24,6 +24,10 @@ jobs:
|
|||||||
- name: Test code
|
- name: Test code
|
||||||
run: |
|
run: |
|
||||||
echo "Testing code"
|
echo "Testing code"
|
||||||
|
- name: Clean build
|
||||||
|
run: |
|
||||||
|
echo "Cleaning build"
|
||||||
|
rm -rf MeowEmbeddedMusicServer-*
|
||||||
- name: Build version
|
- name: Build version
|
||||||
if: ${{ github.event.inputs.build_type == 'version' }}
|
if: ${{ github.event.inputs.build_type == 'version' }}
|
||||||
run: |
|
run: |
|
||||||
@@ -71,6 +75,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tag_name: ${{ github.event.inputs.version_number }}
|
tag_name: ${{ github.event.inputs.version_number }}
|
||||||
name: ${{ github.event.inputs.version_number }}
|
name: ${{ github.event.inputs.version_number }}
|
||||||
|
body: |
|
||||||
|
### Build Information
|
||||||
|
- Build Date: $(date +"%Y-%m-%d %H:%M:%S")
|
||||||
|
- Branch: v0.0.2-dev
|
||||||
|
- Commit: ${{ github.sha }}
|
||||||
|
|
||||||
|
### Binaries
|
||||||
|
- Linux i386
|
||||||
|
- Linux amd64
|
||||||
|
- Linux arm64
|
||||||
|
- Windows i386
|
||||||
|
- Windows amd64
|
||||||
|
- Windows arm64
|
||||||
|
- macOS amd64
|
||||||
|
- macOS arm64
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/OmniX-Space/MeowBox-Core/compare/v0.0.1...${{ github.sha }}
|
||||||
files: |
|
files: |
|
||||||
MeowEmbeddedMusicServer-Linux-i386
|
MeowEmbeddedMusicServer-Linux-i386
|
||||||
MeowEmbeddedMusicServer-Linux-amd64
|
MeowEmbeddedMusicServer-Linux-amd64
|
||||||
@@ -83,4 +104,6 @@ jobs:
|
|||||||
prerelease: ${{ github.event.inputs.build_type == 'pre' }}
|
prerelease: ${{ github.event.inputs.build_type == 'pre' }}
|
||||||
make_latest: ${{ github.event.inputs.build_type != 'pre' }}
|
make_latest: ${{ github.event.inputs.build_type != 'pre' }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||||
|
continue-on-error: true
|
||||||
Reference in New Issue
Block a user