Skip to content

Commit

Permalink
Merge pull request #67 from Codeuctivity/prereleaseFlag
Browse files Browse the repository at this point in the history
Prerelease flag
  • Loading branch information
stesee authored Dec 14, 2023
2 parents d74e94c + f4f997f commit 2e4bfe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
if: env.NUGET_TOKEN_EXISTS != ''
run: |
dotnet nuget push ./PdfJsSharp/bin/Release/*.nupkg --skip-duplicate --api-key ${{secrets.NUGET_TOKEN}} --source https://api.nuget.org/v3/index.json
- name: Github prerelease
- name: Github
shell: bash
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
if: env.GITHUB_TOKEN != ''
run: |
gh release create ${{env.CURRENT_VERSION}} ./PdfJsSharp/bin/Release/*.*nupkg --prerelease --generate-notes
gh release create ${{env.CURRENT_VERSION}} ./PdfJsSharp/bin/Release/*.*nupkg --generate-notes
deployTest:
if: github.ref == 'refs/heads/main'
Expand Down
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ get
- NodeJs
- node 18 or 20 x64 (older node versions are supported by older PDFjsSharp versions)

- .NET Framework 4.6.1 or .NET Core 2.0 or [something newer](https://github.com/dotnet/standard/blob/master/docs/versions/netstandard2.0.md)

## HowTo use

- Install nuget package [PdfjsSharp](https://www.nuget.org/packages/Codeuctivity.PdfjsSharp/)
Expand All @@ -29,9 +27,7 @@ Assert.Equal(1, actualImages.Count);

## Development

### Windows

Visual Studio 2022 or .net 6 SDK
get .net 8 sdk

### Upgrade npm packages

Expand All @@ -53,7 +49,6 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
exit
nvm install 20
sudo apt install dotnet8 zip
echo export DOTNET_CLI_TELEMETRY_OPTOUT=1>> ~/.bash_profile
```

#### Steps to update node_modules.linux.node\*.zip
Expand Down

0 comments on commit 2e4bfe5

Please sign in to comment.