Skip to content

Commit a3188fe

Browse files
committed
ci
1 parent e0c68d2 commit a3188fe

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616

1717
outputs:
1818
version: ${{ steps.version.outputs.version }}
19-
agent_framework_version: ${{ steps.version.outputs.agent_framework_version }}
2019

2120
steps:
2221
- name: Checkout
@@ -45,24 +44,16 @@ jobs:
4544
echo "Failed to resolve package version from Directory.Build.props"
4645
exit 1
4746
fi
48-
AGENT_FRAMEWORK_VERSION="$VERSION-rc4"
4947
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
50-
echo "agent_framework_version=$AGENT_FRAMEWORK_VERSION" >> "$GITHUB_OUTPUT"
5148
echo "Version from Directory.Build.props: $VERSION"
52-
echo "Agent Framework package version: $AGENT_FRAMEWORK_VERSION"
5349
5450
- name: Validate semantic version
5551
run: |
5652
VERSION="${{ steps.version.outputs.version }}"
57-
AGENT_FRAMEWORK_VERSION="${{ steps.version.outputs.agent_framework_version }}"
5853
if [[ ! "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$ ]]; then
5954
echo "Version '$VERSION' is not a valid semantic version."
6055
exit 1
6156
fi
62-
if [[ ! "$AGENT_FRAMEWORK_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$ ]]; then
63-
echo "Agent Framework version '$AGENT_FRAMEWORK_VERSION' is not a valid semantic version."
64-
exit 1
65-
fi
6657
6758
- name: Restore dependencies
6859
run: dotnet restore ManagedCode.CodexSharpSDK.slnx
@@ -81,15 +72,6 @@ jobs:
8172
mkdir -p ./artifacts
8273
dotnet pack ManagedCode.CodexSharpSDK.slnx --configuration Release --no-build -p:IncludeSymbols=false -p:SymbolPackageFormat=snupkg --output ./artifacts
8374
84-
- name: Validate packed artifacts
85-
run: |
86-
VERSION="${{ steps.version.outputs.version }}"
87-
AGENT_FRAMEWORK_VERSION="${{ steps.version.outputs.agent_framework_version }}"
88-
find ./artifacts -maxdepth 1 -name '*.nupkg' | sort
89-
test -f "./artifacts/ManagedCode.CodexSharpSDK.$VERSION.nupkg"
90-
test -f "./artifacts/ManagedCode.CodexSharpSDK.Extensions.AI.$VERSION.nupkg"
91-
test -f "./artifacts/ManagedCode.CodexSharpSDK.Extensions.AgentFramework.$AGENT_FRAMEWORK_VERSION.nupkg"
92-
9375
- name: Upload artifacts
9476
uses: actions/upload-artifact@v4
9577
with:
@@ -106,7 +88,6 @@ jobs:
10688
outputs:
10789
published: ${{ steps.publish.outputs.published }}
10890
version: ${{ needs.build.outputs.version }}
109-
agent_framework_version: ${{ needs.build.outputs.agent_framework_version }}
11091

11192
steps:
11293
- name: Checkout
@@ -214,7 +195,6 @@ jobs:
214195
id: release_notes
215196
run: |
216197
VERSION="${{ needs.publish-nuget.outputs.version }}"
217-
AGENT_FRAMEWORK_VERSION="${{ needs.publish-nuget.outputs.agent_framework_version }}"
218198
CURRENT_TAG="v$VERSION"
219199
PREVIOUS_TAG="${{ steps.prev_tag.outputs.previous_tag }}"
220200

0 commit comments

Comments
 (0)