Skip to content

Commit 28d439e

Browse files
authored
Merge pull request #5 from alma-oss/feature/adjust-repo
Move repository
2 parents e0833de + fdb3e69 commit 28d439e

File tree

8 files changed

+36
-36
lines changed

8 files changed

+36
-36
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111

1212
permissions:
1313
contents: read
14-
packages: write
1514

1615
steps:
1716
- uses: actions/checkout@v4
@@ -21,20 +20,8 @@ jobs:
2120
with:
2221
dotnet-version: 9.x
2322

24-
- name: Generate token
25-
id: generate_token
26-
uses: almacareer/dex-github-app-token@v1
27-
with:
28-
app_id: ${{ secrets.PRC_ACTIONS_INTERNAL_APPID }}
29-
installation_id: ${{ secrets.PRC_ACTIONS_INTERNAL_INSTALLATION_ID }}
30-
private_key: ${{ secrets.PRC_ACTIONS_INTERNAL_KEY }}
31-
32-
- name: Publish package
23+
- name: Publish to NuGet.org
3324
env:
34-
PRIVATE_FEED_USER: ${{ github.repository_owner }}
35-
PRIVATE_FEED_PASS: ${{ secrets.GITHUB_TOKEN }}
36-
NUGET_SERVER_TOKEN: ${{ steps.generate_token.outputs.token }}
37-
NUGET_SERVER_ORGANIZATION: ${{ github.repository_owner }}
38-
NUGET_SERVER_REPOSITORY: "prc-nuget-server"
25+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
3926
DOTNET_ROLL_FORWARD: latestMajor
40-
run: ./build.sh -t publish
27+
run: ./build.sh -t publish no-lint

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
PRIVATE_FEED_USER: ${{ github.repository_owner }}
2929
PRIVATE_FEED_PASS: ${{ secrets.GITHUB_TOKEN }}
3030
DOTNET_ROLL_FORWARD: latestMajor
31-
run: ${{ matrix.os.run }} -t tests
31+
run: ${{ matrix.os.run }} -t tests no-lint

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<!-- There is always Unreleased section on the top. Subsections (Add, Changed, Fix, Removed) should be Add as needed. -->
44
## Unreleased
5+
- Move repository
56

67
## 8.1.0 - 2025-03-17
78
- Update dependencies

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### The MIT License (MIT) ###
2+
3+
Copyright (c) Alma Career Czechia s.r.o.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
11
F-Profiler Common
22
=================
33

4+
[![NuGet](https://img.shields.io/nuget/v/Alma.Profiler.Common.svg)](https://www.nuget.org/packages/Alma.Profiler.Common)
5+
[![NuGet Downloads](https://img.shields.io/nuget/dt/Alma.Profiler.Common.svg)](https://www.nuget.org/packages/Alma.Profiler.Common)
6+
[![Tests](https://github.com/alma-oss/fprofiler-common/actions/workflows/tests.yaml/badge.svg)](https://github.com/alma-oss/fprofiler-common/actions/workflows/tests.yaml)
7+
48
> Library for common profiler types, shared between client and server.
59
610
---
711

812
## Install
913

10-
Add following into `paket.dependencies`
11-
```
12-
source https://nuget.pkg.github.com/almacareer/index.json username: "%PRIVATE_FEED_USER%" password: "%PRIVATE_FEED_PASS%"
13-
# LMC Nuget dependencies:
14-
nuget Alma.Profiler.Common
15-
```
16-
17-
NOTE: For local development, you have to create ENV variables with your github personal access token.
18-
```sh
19-
export PRIVATE_FEED_USER='{GITHUB USERNANME}'
20-
export PRIVATE_FEED_PASS='{TOKEN}' # with permissions: read:packages
21-
```
22-
2314
Add following into `paket.references`
2415
```
2516
Alma.Profiler.Common

build/Build.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let main args =
2525
}
2626
Specs =
2727
Spec.defaultLibrary
28-
|> Spec.mapLibrary (fun library -> { library with NugetApi = NugetApi.Organization "almacareer" })
28+
|> Spec.mapLibrary (fun library -> { library with NugetApi = NugetApi.KeyInEnvironment "NUGET_API_KEY" })
2929
}
3030

3131
args |> Args.run

paket.dependencies

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ framework: net9.0
33
source https://api.nuget.org/v3/index.json
44
nuget FSharp.Core ~> 9.0
55

6-
source https://nuget.pkg.github.com/almacareer/index.json username: "%PRIVATE_FEED_USER%" password: "%PRIVATE_FEED_PASS%"
7-
# LMC Nuget dependencies:
8-
96
// [ FAKE GROUP ]
107
group Build
118
storage none

src/Alma.Fable.Profiler.Common/Alma.Fable.Profiler.Common.fsproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
<OutputType>Library</OutputType>
77
<PackageId>Alma.Profiler.Common</PackageId>
88
<Version>8.1.0</Version>
9-
<RepositoryUrl>https://github.com/almacareer/prc-fprofiler-common.git</RepositoryUrl>
10-
<PackageProjectUrl>https://github.com/almacareer/prc-fprofiler-common</PackageProjectUrl>
9+
<Authors>Almacareer</Authors>
10+
<Description>Library for common profiler types, shared between client and server.</Description>
11+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
12+
<RepositoryUrl>https://github.com/alma-oss/fprofiler-common.git</RepositoryUrl>
13+
<PackageProjectUrl>https://github.com/alma-oss/fprofiler-common</PackageProjectUrl>
1114
</PropertyGroup>
1215

1316
<ItemGroup>

0 commit comments

Comments
 (0)