Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
Fixes in release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jmederosalvarado committed Dec 14, 2023
1 parent 7501931 commit 0901dbf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,22 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: roslyn
sparse-checkout: server

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: roslyn/server/global.json
global-json-file: server/global.json

- name: Download for ${{ matrix.rid }}
working-directory: roslyn/server
run: >
dotnet restore
dotnet restore ./server
/p:PackageName=microsoft.codeanalysis.languageserver.${{ matrix.rid }}
/p:PackageVersion=${{ github.event.inputs.version }}
- name: Package downloaded files
run: >
tar -czvf roslyn-${{ github.event.inputs.version }}-${{ matrix.rid }}.tar.gz
-C roslyn/server/out/microsoft.codeanalysis.languageserver.osx-arm64/${{ github.event.inputs.version }}/content/LanguageServer/${{ matrix.rid }} .
-C server/out/microsoft.codeanalysis.languageserver.${{ matrix.rid }}/${{ github.event.inputs.version }}/content/LanguageServer/${{ matrix.rid }} .
# Create a new release and upload the build artifact
- name: Create Release and Upload Artifact
Expand Down

0 comments on commit 0901dbf

Please sign in to comment.