Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Actions #196

Merged
merged 1 commit into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading