chore(deps): update dependency questpdf to 2023.12.6 #107
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow will build a .NET project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
| name: .NET | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| DOTNET_VERSION: '8.x' # Define .NET version | |
| PROJECT_NAME: 'Flixen.CurriculumVitae.Builder' # Define project name | |
| PUBLISH_DIR: './publish' # Directory for publishing output | |
| OUTPUT_PDF: './github-release/folder/resume.pdf' # PDF output location | |
| CONFIG_FILE: './data.yaml' #config file | |
| BUILD_CONFIGURATION: Release | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout the repository | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| # Setup .NET Core with the specified version | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: ${{ env.DOTNET_VERSION }} | |
| # Restore dependencies with Release configuration | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build solution | |
| run: >- | |
| dotnet build | |
| --no-restore | |
| --configuration ${{ env.BUILD_CONFIGURATION }} | |
| # Run to generate the PDF | |
| - name: Run project and generate PDF | |
| working-directory: ./${{ env.PROJECT_NAME }} | |
| run: >- | |
| dotnet run | |
| --configuration ${{ env.BUILD_CONFIGURATION }} | |
| --config-file ${{ env.CONFIG_FILE }} | |
| -- write | |
| --output ../github-release/folder/resume.pdf |