Skip to content

Commit

Permalink
change: name
Browse files Browse the repository at this point in the history
from tfm (target framework moniker) to rid (runtime identifier = runtime id)
  • Loading branch information
Lemon73-Computing committed Mar 5, 2024
1 parent 79915cf commit 92b4771
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
tfm: [win-x64, win-x86, win-arm64, osx-x64, osx-arm64, linux-x64, linux-arm64]
rid: [win-x64, win-x86, win-arm64, osx-x64, osx-arm64, linux-x64, linux-arm64]
permissions:
contents: write

Expand All @@ -30,11 +30,11 @@ jobs:

- name: Publish
run: |
dotnet publish Sample/Sample.csproj -c Release -o ${{ matrix.tfm }} -r ${{ matrix.tfm }} --self-contained true -p:PublishReadyToRun=false -p:PublishTrimmed=true
dotnet publish Sample/Sample.csproj -c Release -o ${{ matrix.rid }} -r ${{ matrix.rid }} --self-contained true -p:PublishReadyToRun=false -p:PublishTrimmed=true
# Upload Artifacts
- name: 'Upload Artifact: ${{ matrix.tfm }}'
- name: 'Upload Artifact: ${{ matrix.rid }}'
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.tfm }}
path: ${{ matrix.tfm }}
name: ${{ matrix.rid }}
path: ${{ matrix.rid }}

0 comments on commit 92b4771

Please sign in to comment.