Skip to content

Workflow file for this run

name: "Test for actions/[email protected]"
on:
workflow_dispatch:
jobs:
test1:
name: "ubuntu-latest + actions/[email protected]"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
- name: "Print git --version"
run: git --version
- name: "Print .git/config"
run: cat .git/config
- name: "dotnet build"
run: dotnet build
test2:
name: "actions/runner:2.316.0 + actions/[email protected]"
runs-on: ubuntu-latest
container:
image: ghcr.io/actions/actions-runner:2.316.0
options: --user 0
steps:
- name: "Update git"
run: |
add-apt-repository ppa:git-core/ppa -y
apt-get update
apt-get install git -y
- uses: actions/[email protected]
with:
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
- name: "Print git --version"
run: git --version
- name: "Print .git/config"
run: cat .git/config
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.204'
- name: "dotnet build"
run: dotnet build
test3:
name: "actions/runner:2.316.0 + actions/[email protected]"
runs-on: ubuntu-latest
container:
image: ghcr.io/actions/actions-runner:2.316.0
options: --user 0
steps:
- name: "Update git"
run: |
add-apt-repository ppa:git-core/ppa -y
apt-get update
apt-get install git -y
- uses: actions/[email protected]
with:
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
- name: "Print git --version"
run: git --version
- name: "Print .git/config"
run: cat .git/config
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.204'
- name: "dotnet build"
run: dotnet build