mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-16 21:21:55 +08:00
fix CI
This commit is contained in:
@@ -75,20 +75,20 @@ jobs:
|
||||
id: tag
|
||||
uses: dawidd6/action-get-tag@v1
|
||||
|
||||
- name: Checkout Credentials repository
|
||||
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: SteamTools-Team/Credentials
|
||||
token: ${{ secrets.REPO_TOKEN }}
|
||||
path: ./Credentials
|
||||
# - name: Checkout Credentials repository
|
||||
# if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# repository: SteamTools-Team/Credentials
|
||||
# token: ${{ secrets.REPO_TOKEN }}
|
||||
# path: ./Credentials
|
||||
|
||||
- name: Copy pfx and snk To Source
|
||||
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
|
||||
run: |
|
||||
copy .\Credentials\*.pfx .
|
||||
copy .\Credentials\*.snk .
|
||||
#dir *.pfx -s
|
||||
# - name: Copy pfx and snk To Source
|
||||
# if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
|
||||
# run: |
|
||||
# copy .\Credentials\*.pfx .
|
||||
# copy .\Credentials\*.snk .
|
||||
# dir *.pfx -s
|
||||
|
||||
- name: Build ST.Tools.Publish Release
|
||||
run: dotnet build ./src/ST.Tools.Publish/ST.Tools.Publish.csproj -c Release
|
||||
|
||||
@@ -3,7 +3,6 @@ $ErrorActionPreference = 'Stop'
|
||||
|
||||
Write-Host 'dotnet SDK info'
|
||||
dotnet --info
|
||||
msbuild --version
|
||||
|
||||
$RootPath = Split-Path $PSScriptRoot -Parent
|
||||
$output_dir = "$RootPath\src\ST.Client.Desktop.Avalonia.App\bin\$configuration\Publish"
|
||||
|
||||
Reference in New Issue
Block a user