might work
This commit is contained in:
22
.github/workflows/se.yml
vendored
22
.github/workflows/se.yml
vendored
@@ -2,10 +2,11 @@ name: Se Dedicated Package
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
version:
|
||||
description: 'Game version string'
|
||||
required: true
|
||||
type: string
|
||||
inputs:
|
||||
version:
|
||||
description: 'Game version string'
|
||||
required: true
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
packages: write
|
||||
@@ -20,11 +21,9 @@ jobs:
|
||||
with:
|
||||
dotnet-version: '6.0.x'
|
||||
- name: Download Depot tool
|
||||
run: wget https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.4.7/depotdownloader-2.4.7.zip -o tool.zip && 7z x tool.zip -o./tool && rm tool.zip
|
||||
run: wget https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.4.7/depotdownloader-2.4.7.zip -O tool.zip && 7z x tool.zip -o./tool && rm tool.zip
|
||||
- name: Download Steam Dlls
|
||||
run: dotnet DepotDownloader.dll -app 298740 -depot 298741 -os windows -dir . -filelist dedi_dlls_list.txt
|
||||
- name: Install Nuget CLI
|
||||
run: sudo apt-get install -y nuget
|
||||
run: dotnet ./tool/DepotDownloader.dll -app 298740 -depot 298741 -os windows -dir . -filelist dedi_dlls_list.txt
|
||||
- name: Prepare folder structure
|
||||
run: mkdir -p ./nuget/lib/net48
|
||||
- name: Copy binaries
|
||||
@@ -32,9 +31,4 @@ jobs:
|
||||
- name: Create Nuget Package
|
||||
run: nuget pack specs/SpaceEngineersDedicated.ReferenceAssemblies.nuspec -BasePath ./nuget -Version ${{ inputs.version }} -NonInteractive -NoPackageAnalysis -OutputFileNamesWithoutVersion
|
||||
- name: Push Nuget Package
|
||||
uses: tanaka-takayoshi/nuget-publish-to-github-packages-action@v2.1
|
||||
with:
|
||||
nupkg-path: './SpaceEngineersDedicated.ReferenceAssemblies.nupkg'
|
||||
repo-owner: ${{ github.repository_owner }}
|
||||
gh-user: ${{ github.actor }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: dotnet nuget push ./SpaceEngineersDedicated.ReferenceAssemblies.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
|
Reference in New Issue
Block a user