Skip to content

Commit

Permalink
Update Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Feb 6, 2024
1 parent 0b62fa9 commit 6f2b3e3
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Insert Job Version
run: sed -i "s/{GIT_VERSION}/${{github.run_number}}/g" src/Jailbreak/Jailbreak.cs

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build src/Jailbreak/Jailbreak.csproj --no-restore
- name: Publish
run: dotnet publish src/Jailbreak/Jailbreak.csproj --no-build --no-restore
- run: |
dotnet restore
dotnet build src/Jailbreak/Jailbreak.csproj --no-restore
dotnet publish src/Jailbreak/Jailbreak.csproj --no-build --no-restore
- uses: actions/[email protected]
with:
Expand Down

0 comments on commit 6f2b3e3

Please sign in to comment.