Skip to content

Commit

Permalink
Merge pull request #196 from AdrianJSClark/update-github-action-versions
Browse files Browse the repository at this point in the history
Update GitHub Actions
  • Loading branch information
AdrianJSClark authored Jan 1, 2024
2 parents ec38573 + d5d3a0c commit 5fb3bea
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:

- name: 'Checkout Code'
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for MinVer to work properly

Expand All @@ -30,7 +30,7 @@ jobs:
shell: pwsh

- name: 'Upload Site Artifacts'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Documentation Site'
path: 'doc/docfx_project/_site/'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:

- name: 'Checkout Code'
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for MinVer to work properly

Expand Down Expand Up @@ -63,13 +63,13 @@ jobs:
run: Get-ChildItem -Path src\*\bin\Release\* -Recurse -Include *.nupkg | Copy-Item -Container:$false

- name: 'Upload Artifacts'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: NuGet Packages
path: Aydsko.*.nupkg

- name: 'Upload Release Notes'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Release Notes
path: 'src\Aydsko.iRacingData\Package Release Notes.txt'
6 changes: 3 additions & 3 deletions .github/workflows/_deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Download Documentation Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: 'Documentation Site'
path: '_site'
Expand All @@ -31,10 +31,10 @@ jobs:
uses: actions/configure-pages@v3

- name: Upload GitHub Pages Artifacts
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: '_site'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
Expand All @@ -40,6 +40,8 @@ jobs:
- name: Delete Old Packages
uses: smartsquaregmbh/[email protected]
with:
user: AdrianJSClark
type: nuget
keep: 5
dry-run: true
names: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:

steps:
- name: 'Checkout Code'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: 'Check Tag Value'
run: echo ${{ github.event.release.tag_name }}

- uses: robinraju/release-downloader@v1.7
- uses: robinraju/release-downloader@v1.8
name: 'Download Package from Release'
with:
repository: 'AdrianJSClark/aydsko-iracingdata'
Expand All @@ -34,7 +34,7 @@ jobs:
run: Expand-Archive -Path DocumentationSite.zip -DestinationPath ./_site

- name: 'Upload Site Artifacts'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'Documentation Site'
path: '_site'
Expand Down

0 comments on commit 5fb3bea

Please sign in to comment.