chore(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #64
This file contains 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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: ci | |
on: | |
workflow_dispatch: # Allow running the workflow manually from the GitHub UI | |
push: | |
branches: | |
- 'main' # Run the workflow when pushing to the main branch | |
pull_request: | |
branches: | |
- '*' # Run the workflow for all pull requests | |
env: | |
# Source: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-environment-variables#dotnet_skip_first_time_experience | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
# Source: https://learn.microsoft.com/en-us/dotnet/core/tools/telemetry#disclosure | |
DOTNET_NOLOGO: true | |
NUGET_DIR: ${{ github.workspace }}/nuget | |
defaults: | |
run: | |
shell: pwsh | |
jobs: | |
# Can't pass env variables to reusable workflow, so we use this hack | |
workflow_environment_vars: | |
runs-on: ubuntu-latest | |
outputs: | |
nuget_dir: ${{ env.NUGET_DIR }} | |
steps: | |
- run: | | |
echo "nuget_dir: ${{ env.NUGET_DIR }}" | |
create_and_validate_nuget: | |
needs: [ workflow_environment_vars ] | |
uses: ./.github/workflows/package.yml | |
with: | |
nuget-dir: ${{ needs.workflow_environment_vars.outputs.nuget_dir }} | |
# Commit hash that triggered this action run | |
commit-hash: ${{ github.sha }} | |
test: | |
uses: ./.github/workflows/test.yml |