Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
catornot committed Feb 5, 2024
2 parents 0af10eb + 9fb9f7d commit e93a12c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
name: format-check
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Format check
run: cargo fmt --all -- --check

build:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
run: |
cargo build --release --verbose
Expand All @@ -24,7 +24,7 @@ jobs:
shell: bash
run: echo commit=$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: NorthstarDiscordRPC-${{ steps.extract.outputs.commit }}
path: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ jobs:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
- name: Build
run: |
cargo build --release --verbose
- name: Upload RPC build as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: northstar-discord-rpc
path: |
target/release/*.dll
- name: Upload debug build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: discord-rpc-debug-files
path: |
Expand All @@ -40,12 +40,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Download compiled RPC
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: northstar-discord-rpc
path: northstar-discord-rpc
- name: Download debug files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: discord-rpc-debug-files
path: discord-rpc-debug-files
Expand Down

0 comments on commit e93a12c

Please sign in to comment.