mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
ci cleanup
This commit is contained in:
17
.github/actions/job-setup/action.yml
vendored
17
.github/actions/job-setup/action.yml
vendored
@@ -1,9 +1,21 @@
|
||||
name: "Setup Job Environment"
|
||||
description: "Installs dependencies like dotnet, rust, etc."
|
||||
|
||||
inputs:
|
||||
update-dotnet:
|
||||
description: 'Whether to run the setup-dotnet action'
|
||||
required: false
|
||||
default: 'false'
|
||||
rust-cache:
|
||||
description: 'Whether to run the rust-cache action'
|
||||
required: false
|
||||
default: 'false'
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Setup dotnet
|
||||
if: inputs.update-dotnet == 'true'
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: |
|
||||
@@ -22,3 +34,8 @@ runs:
|
||||
- name: Update Project Version
|
||||
shell: pwsh
|
||||
run: ./.github/set-nbgv-version.ps1
|
||||
- name: Rust Cache
|
||||
if: inputs.rust-cache == 'true'
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: "${{ github.workflow }}"
|
||||
|
||||
Reference in New Issue
Block a user