Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
affederaffe authored Aug 21, 2024
1 parent 8c44ff8 commit eff6c6b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@ jobs:
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"

- name: Build Self Contained
run: dotnet publish ./BeatSaberModManager/BeatSaberModManager.csproj -c Release -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BeatSaberModManager-linux-x64-self-contained
path: BeatSaberModManager/bin/Release/linux-x64/publish/BeatSaberModManager

- name: Build Framework Dependent
run: dotnet publish ./BeatSaberModManager/BeatSaberModManager.csproj -c Release -r linux-x64 --no-self-contained -p:PublishSingleFile=true
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BeatSaberModManager-linux-x64-framework-dependent
path: BeatSaberModManager/bin/Release/linux-x64/publish/BeatSaberModManager
Expand All @@ -50,26 +50,26 @@ jobs:
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"

- name: Build Self Contained
run: dotnet publish ./BeatSaberModManager/BeatSaberModManager.csproj -c Release -r win-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BeatSaberModManager-win-x64-self-contained
path: BeatSaberModManager/bin/Release/win10-x64/publish/BeatSaberModManager.exe

- name: Build Framework Dependent
run: dotnet publish ./BeatSaberModManager/BeatSaberModManager.csproj -c Release -r win-x64 --no-self-contained -p:PublishSingleFile=true
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BeatSaberModManager-win-x64-framework-dependent
path: BeatSaberModManager/bin/Release/win10-x64/publish/BeatSaberModManager.exe

0 comments on commit eff6c6b

Please sign in to comment.