Skip to content

Commit 50fd3ff

Browse files
committed
⬆️ (workflows): upgrade GitHub Actions dependencies to latest versions
Upgrade various GitHub Actions dependencies to their latest versions to ensure compatibility, security, and access to new features. The `upload-artifact` and `download-artifact` actions are updated from v3 to v4, `gitversion` actions from v1.1.1 to v3.0.2, `setup-java` from v2 to v4, and `stale` action from v1 to v9. These updates help maintain the stability and efficiency of the CI/CD pipeline by leveraging improvements and bug fixes in the newer versions of these actions.
1 parent 7bd9671 commit 50fd3ff

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/MigrationToolsTelemetery.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Publish
3333
run: dotnet publish "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-build --output "${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}"
3434
- name: Publish Artifacts
35-
uses: actions/upload-artifact@v3
35+
uses: actions/upload-artifact@v4
3636
with:
3737
name: functionapp
3838
path: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
@@ -41,7 +41,7 @@ jobs:
4141
needs: build
4242
steps:
4343
- name: Download artifact from build job
44-
uses: actions/download-artifact@v3
44+
uses: actions/download-artifact@v4
4545
with:
4646
name: functionapp
4747
path: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ jobs:
6969
$newBranchName = "contrib/$branchName"
7070
git checkout -b $newBranchName
7171
- name: Install GitVersion
72-
uses: gittools/actions/gitversion/setup@v1.1.1
72+
uses: gittools/actions/gitversion/setup@v3.0.2
7373
with:
7474
versionSpec: '5.x'
7575
includePrerelease: true
7676
- name: Execute GitVersion
7777
id: gitversion
78-
uses: gittools/actions/gitversion/execute@v1.1.1
78+
uses: gittools/actions/gitversion/execute@v3.0.2
7979
with:
8080
useConfigFile: true
8181
- uses: dorny/paths-filter@v3
@@ -273,7 +273,7 @@ jobs:
273273
GitVersion_MajorMinorPatch: ${{ needs.Setup.outputs.GitVersion_MajorMinorPatch }}
274274
steps:
275275
- name: Set up JDK 17
276-
uses: actions/setup-java@v2
276+
uses: actions/setup-java@v4
277277
if: ${{ !(github.event.pull_request.head.repo.fork) }}
278278
with:
279279
java-version: 17

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/stale@v1
13+
- uses: actions/stale@v9
1414
with:
1515
repo-token: ${{ secrets.GITHUB_TOKEN }}
1616
stale-issue-label: 'no-issue-activity'

0 commit comments

Comments
 (0)