Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/fsprojects/FsHttp
Browse files Browse the repository at this point in the history
  • Loading branch information
SchlenkR committed Oct 31, 2023
2 parents 9867c95 + 27b84c2 commit 4e6a435
Show file tree
Hide file tree
Showing 49 changed files with 135 additions and 4,084 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/build-and-publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build and Publish Docs

on:
workflow_dispatch:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

defaults:
run:
working-directory: .

steps:
- uses: actions/checkout@v2

- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x

- name: Build docu
shell: pwsh
run: ./docu.ps1

- name: Upload docs artifact to GH pages
uses: actions/upload-pages-artifact@v1
with:
path: ./docs

deploy:
runs-on: ubuntu-latest

needs: build

permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
32 changes: 32 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build and Test

on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

defaults:
run:
working-directory: .

steps:
- uses: actions/checkout@v2

- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x

- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x

- name: Build and run tests
run: dotnet fsi build.fsx test
30 changes: 16 additions & 14 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,26 @@ on: workflow_dispatch

jobs:
build:

runs-on: ubuntu-latest

defaults:
run:
working-directory: .

steps:
- uses: actions/checkout@v2
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x
- name: nuget publish
env:
nuget_push: ${{ secrets.NUGET_API_KEY }}
run: dotnet fsi build.fsx publish
- uses: actions/checkout@v2

- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x

- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x

- name: nuget publish
env:
nuget_push: ${{ secrets.NUGET_API_KEY }}
run: dotnet fsi build.fsx publish
30 changes: 0 additions & 30 deletions .github/workflows/push-master_pull-request.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
symbolCache.db
.paket/load
.fsdocs
/docs

# User-specific files
*.suo
Expand Down
1 change: 0 additions & 1 deletion .nojekyll

This file was deleted.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FsHttp
======
<p align="center">
<img src='./docs/img/logo_big.png' alt='logo' width='300' />
</p>

FsHttp is a .Net HTTP client library for C# and F#. It aims for describing and executing HTTP requests in convenient ways that can be used in production and interactive environments.

Expand Down
169 changes: 0 additions & 169 deletions docs/Builders_and_Evaluation.fsx.bak

This file was deleted.

Loading

0 comments on commit 4e6a435

Please sign in to comment.