mirror of
https://github.com/FoxRefire/WVCore.Server.git
synced 2026-04-02 17:48:16 +00:00
Compare commits
4 Commits
8634685259
...
8635160639
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
736e84cb31 | ||
|
|
80788bcd1b | ||
|
|
370d0b3435 | ||
|
|
ef2a11caf9 |
150
.github/workflows/release.yml
vendored
150
.github/workflows/release.yml
vendored
@@ -9,8 +9,11 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
steps:
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
@@ -40,147 +43,6 @@ jobs:
|
||||
readlink -f ./
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
release_name: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Release win-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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/bin/Release/net7.0/win-x64/publish/*
|
||||
asset_name: WVCore.Server-win-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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/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: /home/runner/work/WVCore.Server/WVCore.Server/WVCore.Server/bin/Release/net7.0/osx-arm64/publish/*
|
||||
asset_name: WVCore.Server-osx-arm64.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
|
||||
run: |
|
||||
gh release create ${{ github.run_id }} -R FoxRefire/WVCore.Server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user