Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomGamers committed Dec 15, 2023
1 parent 6d88f6a commit 190c419
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-winx64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0 # can't shallowly clone due to git versioning
Expand All @@ -33,17 +33,17 @@ jobs:

# Add dotnet to the PATH: https://github.com/actions/setup-dotnet
- name: Setup dotnet.exe
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.0.x"
dotnet-version: "8.0.x"

# Build it
- name: Build the application
run: dotnet build -c ${{ matrix.configuration }}

# Upload it to the run results
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
# Artifact name
name: build-artifacts-${{ matrix.configuration }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0 # can't shallowly clone due to git versioning
Expand All @@ -23,7 +23,7 @@ jobs:
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "14"

Expand All @@ -33,7 +33,7 @@ jobs:
echo "::set-output name=dir::$(npm config get cache)"
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: npm-${{ hashFiles('package-lock.json') }}
Expand All @@ -51,9 +51,9 @@ jobs:

# Add dotnet to the PATH: https://github.com/actions/setup-dotnet
- name: Setup dotnet.exe
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.0.x"
dotnet-version: "8.0.x"

# Build it
- name: Build the application
Expand All @@ -66,13 +66,13 @@ jobs:
run: node .github\scripts\thunderstore_bundle.js

# Upload the thunderstore artifact (in case automatic upload fails)
- uses: actions/upload-artifact@v2.2.4
- uses: actions/upload-artifact@v4
with:
name: nebula-thunderstore
path: ${{ env.DIST_RELEASE_FOLDER }}nebula-NebulaMultiplayerMod

# Upload the API thunderstore artifact (in case automatic upload fails)
- uses: actions/upload-artifact@v2.2.4
- uses: actions/upload-artifact@v4
with:
name: nebula-api-thunderstore
path: ${{ env.DIST_RELEASE_FOLDER }}nebula-NebulaMultiplayerModApi
Expand Down

0 comments on commit 190c419

Please sign in to comment.