Skip to content

Commit

Permalink
Revert "publish nuget package"
Browse files Browse the repository at this point in the history
This reverts commit 4fa514b.
  • Loading branch information
jordanstephens committed Mar 5, 2025
1 parent 4fa514b commit e938c6f
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 33 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ env:
# IF YOU NEED TO PUBLISH A NUGET PACKAGE THEN ENSURE AN NUGET_PUBLISH_KEY
# SECRET IS SET AND PUBLISH_NUGET: TRUE. IF YOU WANT TO PUBLISH TO AN ALTERNATIVE
# NPM REGISTRY THEN ENSURE THE NPM_REGISTRY_URL IS CHANGED
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}
# NUGET_PUBLISH_KEY: ${{ YOUR NUGET PUBLISH KEY HERE }}
NUGET_FEED_URL: https://api.nuget.org/v3/index.json
PUBLISH_NUGET: true
PUBLISH_NUGET: false
# IF YOU NEED TO PUBLISH A PYPI PACKAGE THEN ENSURE AN PYPI_API_TOKEN
# SECRET IS SET AND PUBLISH_PYPI: TRUE. IF YOU WANT TO PUBLISH TO AN ALTERNATIVE
# PYPI REGISTRY THEN ENSURE THE PYPI_REPOSITORY_URL IS SET. IF YOU ARE USING AN API_TOKEN THEN
Expand Down Expand Up @@ -87,10 +87,10 @@ jobs:
with:
node-version: ${{matrix.nodeversion}}
registry-url: ${{env.NPM_REGISTRY_URL}}
- name: Setup DotNet
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{matrix.dotnetversion}}
# - name: Setup DotNet
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: ${{matrix.dotnetversion}}
- name: Setup Python
uses: actions/setup-python@v1
with:
Expand Down Expand Up @@ -126,22 +126,22 @@ jobs:
access: "public"
token: ${{ env.NPM_TOKEN }}
package: ${{github.workspace}}/sdk/nodejs/bin/package.json
- if: ${{ matrix.language == 'dotnet' && env.PUBLISH_NUGET == 'true' }}
name: publish nuget package
run: |
dotnet nuget push ${{github.workspace}}/sdk/dotnet/bin/Debug/*.nupkg -s ${{ env.NUGET_FEED_URL }} -k ${{ env.NUGET_PUBLISH_KEY }}
echo "done publishing packages"
# - if: ${{ matrix.language == 'dotnet' && env.PUBLISH_NUGET == 'true' }}
# name: publish nuget package
# run: |
# dotnet nuget push ${{github.workspace}}/sdk/dotnet/bin/Debug/*.nupkg -s ${{ env.NUGET_FEED_URL }} -k ${{ env.NUGET_PUBLISH_KEY }}
# echo "done publishing packages"
strategy:
fail-fast: true
matrix:
dotnetversion:
- 3.1.301
# dotnetversion:
# - 3.1.301
goversion:
- 1.22.x
language:
- nodejs
- python
- dotnet
# - dotnet
- go
nodeversion:
- 22.x
Expand Down
16 changes: 1 addition & 15 deletions docs/installation-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ You will also need to authenticate with your cloud provider.

## Example usage

{{< chooser language "typescript,python,go,csharp,yaml" >}}
{{< chooser language "typescript,python,go,yaml" >}}
{{% choosable language typescript %}}
```yaml
# Pulumi.yaml provider configuration file
Expand Down Expand Up @@ -88,20 +88,6 @@ config:

{{% /choosable %}}

{{% choosable language csharp %}}
```yaml
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: csharp
config:
defang:Project:
providerID: aws
configPaths:
- ./compose.yaml
```
{{% /choosable %}}
{{% choosable language yaml %}}
```yaml
# Pulumi.yaml provider configuration file
Expand Down
2 changes: 1 addition & 1 deletion examples/dotnet/provider-defang.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Defang" Version="1.1.0-alpha.1741216002+5abb3db4" />
<PackageReference Include="Pulumi.Defang" Version="1.1.0-alpha.1741215074+0029a569" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion examples/go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.20

require (
github.com/pulumi/pulumi/sdk/v3 v3.30.0
example.com/pulumi-defang/sdk v1.1.0-alpha.1741216002+5abb3db4
example.com/pulumi-defang/sdk v1.1.0-alpha.1741215074+0029a569
)
2 changes: 1 addition & 1 deletion examples/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"dependencies": {
"typescript": "^4.0.0",
"@pulumi/pulumi": "^3.0.0",
"@defang-io/pulumi-defang": "1.1.0-alpha.1741216002+5abb3db4"
"@defang-io/pulumi-defang": "1.1.0-alpha.1741215074+0029a569"
}
}
2 changes: 1 addition & 1 deletion examples/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pulumi-defang==1.1.0-alpha.1741216002+5abb3db4
pulumi-defang==1.1.0-alpha.1741215074+0029a569
pulumi>=3.0.0,<4.0.0

0 comments on commit e938c6f

Please sign in to comment.