Skip to content

Commit

Permalink
Add pipeline to push client (#3108)
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf authored Aug 19, 2024
1 parent 7467e67 commit 1f5b0c8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/push-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Push Client

on:
workflow_dispatch:

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true

jobs:
build:
continue-on-error: true
strategy:
matrix:
os: [ubuntu-latest, windows]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
- name: PushClient
run: dotnet fsi build.fsx -p PushClient
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ pipeline "FormatChanged" {

pipeline "PushClient" {
workingDir __SOURCE_DIRECTORY__
stage "Pack" { run "dotnet pack ./src/Fantomas.Client -c Release --tl" }
stage "Push" {
run (fun _ ->
async {
Expand Down

0 comments on commit 1f5b0c8

Please sign in to comment.