Skip to content

Commit

Permalink
Updates for .NET8
Browse files Browse the repository at this point in the history
  • Loading branch information
Tum4ik committed Apr 3, 2024
1 parent c588de9 commit 8c51a01
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 24 deletions.
36 changes: 22 additions & 14 deletions .github/workflows/abstract-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Build version'
required: true
type: string
default: '2.0.0'
default: '3.0.0'
is-release:
description: 'Release'
type: boolean
Expand Down Expand Up @@ -44,14 +44,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4.0.0
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install .NET
uses: actions/setup-dotnet@v3.2.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Publish
run: |
Expand All @@ -77,7 +77,7 @@ jobs:
run: Compress-Archive -Path ${{ env.PublishOutputPath }}\* -DestinationPath ${{ env.DistributionZipFilePath }}

- name: Upload build artifacts
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: Output
Expand All @@ -95,14 +95,22 @@ jobs:

steps:
- name: Download build artifacts
uses: actions/download-artifact@v3.0.2
uses: actions/download-artifact@v4

- name: GitHub release
uses: softprops/[email protected]
with:
name: '${{ inputs.plugin-friendly-name }} ${{ inputs.version }}'
tag_name: '${{ inputs.github-tag-prefix }}-${{ inputs.version }}'
draft: true
files: '**/*.zip'
body_path: 'Output/${{ inputs.plugin-folder }}/ReleaseNotes.md'
fail_on_unmatched_files: true
env:
GH_REPO: ${{ github.repository }}
GITHUB_TOKEN: ${{ github.token }}
run: |
gh release create '${{ inputs.github-tag-prefix }}-${{ inputs.version }}' '**/*.zip' `
--draft `
--title '${{ inputs.plugin-friendly-name }} ${{ inputs.version }}' `
--notes-file 'Output/${{ inputs.plugin-folder }}/ReleaseNotes.md'
# uses: softprops/[email protected]
# with:
# name: '${{ inputs.plugin-friendly-name }} ${{ inputs.version }}'
# tag_name: '${{ inputs.github-tag-prefix }}-${{ inputs.version }}'
# draft: true
# files: '**/*.zip'
# body_path: 'Output/${{ inputs.plugin-folder }}/ReleaseNotes.md'
# fail_on_unmatched_files: true
2 changes: 1 addition & 1 deletion .github/workflows/files-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Build version'
required: true
type: string
default: '2.0.0'
default: '3.0.0'
is-release:
description: 'Release'
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/images-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Build version'
required: true
type: string
default: '2.0.0'
default: '3.0.0'
is-release:
description: 'Release'
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Yevheniy Tymchishin
Copyright (c) 2023-2024 Yevheniy Tymchishin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<AnalysisMode>All</AnalysisMode>
Expand All @@ -12,7 +12,7 @@
<PropertyGroup>
<Authors>Yevheniy Tymchishin</Authors>
<Company>Tum4ik</Company>
<Copyright>© 2023 Yevheniy Tymchishin. All rights reserved.</Copyright>
<Copyright>© 2023-2024 Yevheniy Tymchishin. All rights reserved.</Copyright>
<Product>JCM Files Plugin</Product>
</PropertyGroup>

Expand All @@ -21,7 +21,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Tum4ik.JustClipboardManager.PluginDevKit" Version="2.0.23285.21" />
<PackageReference Include="Tum4ik.JustClipboardManager.PluginDevKit" Version="2.0.23361.27" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0-windows</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<AnalysisMode>All</AnalysisMode>
Expand All @@ -12,13 +12,13 @@
<PropertyGroup>
<Authors>Yevheniy Tymchishin</Authors>
<Company>Tum4ik</Company>
<Copyright>© 2023 Yevheniy Tymchishin. All rights reserved.</Copyright>
<Copyright>© 2023-2024 Yevheniy Tymchishin. All rights reserved.</Copyright>
<Product>JCM Images Plugin</Product>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
<PackageReference Include="Tum4ik.JustClipboardManager.PluginDevKit" Version="2.0.23285.21" />
<PackageReference Include="System.Drawing.Common" Version="8.0.3" />
<PackageReference Include="Tum4ik.JustClipboardManager.PluginDevKit" Version="2.0.23361.27" />
</ItemGroup>

</Project>

0 comments on commit 8c51a01

Please sign in to comment.