зеркало из https://github.com/microsoft/git.git
ci: update GitHub Actions to newest versions (#708)
Just keeping things up to date.
This commit is contained in:
Коммит
514911d578
|
@ -547,7 +547,7 @@ jobs:
|
|||
mv "$PKGNAME.deb" "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Log into Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
|
@ -708,7 +708,7 @@ jobs:
|
|||
path: deb-package
|
||||
|
||||
- name: Log into Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
|
@ -721,7 +721,7 @@ jobs:
|
|||
| sed -e 's/^"//' -e 's/"$//' | base64 -d >msft-git-public.asc
|
||||
mv msft-git-public.asc deb-package
|
||||
|
||||
- uses: actions/github-script@v6
|
||||
- uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
sed s/^/result=/ <token >>$GITHUB_OUTPUT &&
|
||||
rm token
|
||||
- name: Update scalar Cask
|
||||
uses: mjcheetham/update-homebrew@v1.3
|
||||
uses: mjcheetham/update-homebrew@v1.4
|
||||
with:
|
||||
token: ${{ steps.token.outputs.result }}
|
||||
tap: microsoft/git
|
||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
environment: release
|
||||
steps:
|
||||
- name: Log into Azure
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
|
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Check out Git's source code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup build tools on Windows
|
||||
if: runner.os == 'Windows'
|
||||
|
@ -118,7 +118,7 @@ jobs:
|
|||
case "$(scalar version 2>&1)" in *.vfs.*) echo Good;; *) exit 1;; esac
|
||||
|
||||
- name: Check out Scalar's source code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Indicate full history so Nerdbank.GitVersioning works.
|
||||
path: scalar
|
||||
|
@ -126,7 +126,7 @@ jobs:
|
|||
ref: ${{ env.SCALAR_REF }}
|
||||
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v3
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '3.1.x'
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче