Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed Feb 24, 2023
1 parent af854a4 commit 59b903f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,15 @@ jobs:
with:
node-version: 18

- run: npm i -g pnpm

- run: dotnet build "CTFServer.csproj" -c Release -o build

- run: dotnet publish "CTFServer.csproj" -c Release -o publish/linux/amd64 -r linux-x64 --no-self-contained /p:PublishReadyToRun=true
env:
VITE_APP_BUILD_TIMESTAMP: ${{ steps.time.outputs.time }}
VITE_APP_GIT_SHA: ${{ github.sha }}
VITE_APP_GIT_NAME: ${{ github.ref_name }}

- run: dotnet publish "CTFServer.csproj" -c Release -o publish/linux/arm64 -r linux-arm64 --no-self-contained /p:PublishReadyToRun=true
- name: Prebuild Project
run: |
npm i -g pnpm
dotnet build "CTFServer.csproj" -c Release -o build
- name: Publish Project
run: |
dotnet publish "CTFServer.csproj" -c Release -o publish/linux/amd64 -r linux-x64 --no-self-contained /p:PublishReadyToRun=true
dotnet publish "CTFServer.csproj" -c Release -o publish/linux/arm64 -r linux-arm64 --no-self-contained /p:PublishReadyToRun=true
env:
VITE_APP_BUILD_TIMESTAMP: ${{ steps.time.outputs.time }}
VITE_APP_GIT_SHA: ${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions GZCTF/ClientApp/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 59b903f

Please sign in to comment.