Skip to content

Commit

Permalink
Update github actions to work with v13
Browse files Browse the repository at this point in the history
  • Loading branch information
OwainJ committed Feb 23, 2025
1 parent b5f9c4b commit 31accba
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: v10 Main - Build
name: v13 Main - Build

on:
push:
branches: [ "v10/main" ]
branches: [ "v13/main" ]
pull_request:
branches: [ "v10/main" ]
branches: [ "v13/main" ]

jobs:
build:
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore src/Method4.UmbracoMigrator.Source.sln
- name: Build
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: v10 Main - Pre-release
name: v13 Main - Pre-release

on:
push:
tags:
- "v10.[0-9]+.[0-9]+-[a-z]*[0-9]+"
- "v13.[0-9]+.[0-9]+-[a-z]*[0-9]+"

jobs:
build:
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Set VERSION variable from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: v10 Main - Release
name: v13 Main - Release

on:
push:
tags:
- "v10.[0-9]+.[0-9]+"
- "v13.[0-9]+.[0-9]+"

jobs:
build:
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Set VERSION variable from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ Physical media files will be downloaded from Azure Blob storage if it is being u
<td>v8</td>
<td>v8.x</td>
</tr>
<tr>
<td>v10</td>
<td>v10.x</td>
</tr>
<tr>
<td>v13</td>
<td>v13.x</td>
</tr>
</table>

### NuGet package repository
Expand Down

0 comments on commit 31accba

Please sign in to comment.