-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Wasmtime version to 19.0.1. (#303)
* Bump Wasmtime version to 19.0.1. * Add a publish action for new tags. * Add release information to README.md. Closes #5.
- Loading branch information
1 parent
ef92322
commit df88687
Showing
4 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# The purpose of this workflow is to publish the packages to NuGet | ||
# whenever a tag is created. | ||
|
||
name: "Publish to NuGet" | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
publish: | ||
name: "Publish NuGet Package" | ||
if: github.repository == 'bytecodealliance/wasmtime-dotnet' | ||
runs-on: ubuntu-latest | ||
env: | ||
DevBuild: 'false' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Create NuGet package | ||
run: | | ||
cd src | ||
dotnet pack -c Release /p:Packing=true | ||
- name: Publish NuGet Package | ||
run: | | ||
cd src/bin/Release | ||
dotnet nuget push Wasmtime.${GITHUB_REF_NAME:1}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters