Skip to content

Commit

Permalink
chore: update actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lodicolo committed Oct 1, 2023
1 parent 3f784bd commit b6ba515
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
artifact_name: '${{ env.ARTIFACT_NAME }}'
nupkg_base_name: 'AscensionGameDev.Lidgren.Network.${{ env.LIDGREN_VERSION }}-beta'
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.*
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- id: build_debug
Expand All @@ -28,7 +28,7 @@ jobs:
name: Build (Release)
run: dotnet build --no-restore -c Release -p:VersionPrefix=$LIDGREN_VERSION -p:VersionSuffix=beta
- name: Upload build artifacts
uses: actions/upload-artifact@v2.2.1
uses: actions/upload-artifact@v3
with:
name: '${{ env.ARTIFACT_NAME }}'
path: 'Lidgren.Network/bin/*'
Expand All @@ -38,15 +38,15 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Tests (main)
run: dotnet test --verbosity normal
publish:
runs-on: ubuntu-latest
needs: [build, test]
steps:
- name: Download build artifacts
uses: actions/download-artifact@v2.0.7
uses: actions/download-artifact@v3
with:
name: '${{ needs.build.outputs.artifact_name }}'
- name: Publish Debug nupkg
Expand Down

0 comments on commit b6ba515

Please sign in to comment.