mirror of
https://github.com/FoxRefire/WVCore.Server.git
synced 2026-04-02 21:08:13 +00:00
Update release.yml
This commit is contained in:
136
.github/workflows/release.yml
vendored
136
.github/workflows/release.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Upload Release Asset
|
||||
- name: Release win-x64
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -57,18 +57,128 @@ jobs:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./WVCore.Server/bin/Release/net8.0/win-x64/publish/*
|
||||
asset_path: ./bin/Release/net7.0/win-x64/publish/*
|
||||
asset_name: WVCore.Server-win-x64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
# 他のプラットフォームに対するアップロードステップを追加してください。
|
||||
# 例:
|
||||
# - name: Upload Release Asset for Linux x64
|
||||
# uses: actions/upload-release-asset@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
# asset_path: ./WVCore.Server/bin/Release/net8.0/linux-x64/publish/*
|
||||
# asset_name: WVCore.Server-linux-x64.zip
|
||||
# asset_content_type: application/zip
|
||||
- name: Release win-x86
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/win-x86/publish/*
|
||||
asset_name: WVCore.Server-win-x86.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Release win-arm64
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/win-arm64/publish/*
|
||||
asset_name: WVCore.Server-win-arm64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Release linux-x64
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/linux-x64/publish/*
|
||||
asset_name: WVCore.Server-linux-x64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Release linux-musl-x64
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/linux-musl-x64/publish/*
|
||||
asset_name: WVCore.Server-linux-musl-x64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Release linux-musl-arm64
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/linux-musl-arm64/publish/*
|
||||
asset_name: WVCore.Server-linux-musl-arm64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Release linux-arm
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/linux-arm/publish/*
|
||||
asset_name: WVCore.Server-linux-arm.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Release linux-arm64
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/linux-arm64/publish/*
|
||||
asset_name: WVCore.Server-linux-arm64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Release linux-bionic-arm64
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/linux-bionic-arm64/publish/*
|
||||
asset_name: WVCore.Server-linux-bionic-arm64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Release osx-x64
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/osx-x64/publish/*
|
||||
asset_name: WVCore.Server-osx-x64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Release osx-arm64
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/Release/net7.0/osx-arm64/publish/*
|
||||
asset_name: WVCore.Server-osx-arm64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user