Skip to content

update release-history.md #105

update release-history.md

update release-history.md #105

Workflow file for this run

name: 'Build'
env:
VERSION: 4.18.0
ASM_VERSION: 4.0.0
DOC_ARTIFACT: webHelp-all.zip
# Gives the workflow permissions to clone the repo and create a page deployment
permissions:
id-token: write
pages: write
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
6.0.x
7.0.x
8.0.x
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Python dependencies
run: pip install pyarrow pandas
- name: 'test on ${{ matrix.os }}'
run: dotnet test src/Parquet.sln -c release
build:
runs-on: 'ubuntu-latest'
name: 'Build NuGet'
steps:
- run: echo ${{ github.head_ref }}
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
6.0.x
7.0.x
8.0.x
- name: Build
run: |
envsubst < src/Parquet/Globals.cs > g.tmp && mv g.tmp src/Parquet/Globals.cs
cat src/Parquet/Globals.cs
dotnet build src/Parquet.sln -c release /p:Version=$VERSION /p:FileVersion=$VERSION /p:AssemblyVersion=$ASM_VERSION
- name: collect artifacts
run: |
mkdir artifacts
cp src/Parquet/bin/Release/*.nupkg artifacts/
echo "${{ env.VERSION }}" >> artifacts/version.txt
cp docs/release-history.md artifacts/
- uses: actions/upload-artifact@v3
name: upload artifacts
with:
name: bin
path: artifacts/*
writerside-build:
runs-on: ubuntu-latest
name: 'Build Docs'
env:
PRODUCT: Writerside/pq
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Build Writerside docs using Docker
uses: JetBrains/writerside-github-action@v3
- name: Upload documentation
uses: actions/upload-artifact@v3
with:
name: docs
path: artifacts/*.zip
retention-days: 7