Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃毀Adjust workflow templates to restore dotnet tools #13

Closed
15 tasks done
CalvinWilkinson opened this issue Sep 24, 2022 · 0 comments 路 Fixed by #14
Closed
15 tasks done

馃毀Adjust workflow templates to restore dotnet tools #13

CalvinWilkinson opened this issue Sep 24, 2022 · 0 comments 路 Fixed by #14
Assignees
Labels
馃悰bug Something isn't working 鈾伙笍cicd CI/CD and workflow related work only high priority High Priority preview Done while in preview

Comments

@CalvinWilkinson
Copy link
Member

CalvinWilkinson commented Sep 24, 2022

Complete The Item Below

  • I have updated the title without removing the 馃毀 emoji.

Description

Currently, all of the workflow templates that can be generated for a project do not include a job step to restore the dotnet tool. Fix this by updating all of the workflow templates to include that extra step.

Workflow Changes:

name: 鉁匓uild Status Check


+defaults:
+  run:
+    shell: pwsh


on:
  workflow_dispatch:
  pull_request:
    branches:
      - develop
      - preview/v*.*.*-preview.*
      - release/v*.*.*
      - master


jobs:
  build_project:
    name: Build Project
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
+    - name: Restore DotNet Tools
+      run: dotnet tool restore
    - name: Run Build Status Check
      run: dotnet cicd BuildStatusCheck
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Acceptance Criteria

  • build-status-check.yml
  • feature-pr-status-check.yml
  • hotfix-pr-status-check.yml
  • prev-feature-pr-status-check.yml
  • prev-release-pr-status-check.yml
  • prev-release.yml
  • prod-release-pr-status-check.yml
  • prod-release.yml

ToDo Items

  • Change type labels added to this issue. Refer to the Change Type Labels section below.
  • Priority label added to this issue. Refer to the Priority Type Labels section below.
  • Issue linked to the correct project (if applicable).
  • Issue linked to the correct milestone (if applicable).
  • Draft pull request created and linked to this issue (only required with code changes).

Issue Dependencies

No response

Related Work

No response

Additional Information:

Change Type Labels

Change Type Label
Bug Fixes 馃悰bug
Breaking Changes 馃Жbreaking changes
New Feature 鉁╪ew feature
Workflow Changes workflow
Code Doc Changes 馃棐锔廳ocumentation/code
Product Doc Changes 馃摑documentation/product

Priority Type Labels

Priority Type Label
Low Priority low priority
Medium Priority medium priority
High Priority high priority

Code of Conduct

  • I agree to follow this project's Code of Conduct.
@CalvinWilkinson CalvinWilkinson added high priority High Priority 鈾伙笍cicd CI/CD and workflow related work only 馃悰bug Something isn't working labels Sep 24, 2022
@CalvinWilkinson CalvinWilkinson added this to the v1.0.0-preview.4 milestone Sep 24, 2022
@CalvinWilkinson CalvinWilkinson self-assigned this Sep 24, 2022
CalvinWilkinson added a commit that referenced this issue Sep 24, 2022
@CalvinWilkinson CalvinWilkinson linked a pull request Sep 24, 2022 that will close this issue
12 tasks
@CalvinWilkinson CalvinWilkinson added the preview Done while in preview label Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃悰bug Something isn't working 鈾伙笍cicd CI/CD and workflow related work only high priority High Priority preview Done while in preview
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant