-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (41 loc) · 1.24 KB
/
myget-unstable-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Unstable release deploy to MyGet
on:
push:
branches:
- dev
- 'hotfix/**'
- 'release/**'
jobs:
build-test-package:
runs-on: ubuntu-latest
env:
BeeNet_IT_NodeEndPoint: "http://127.0.0.1/"
BeeNet_IT_NodeVersion: "1.13.2"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x
- name: Build with dotnet
run: dotnet build --configuration Release
# - name: Setup Node.js environment
# uses: actions/[email protected]
#
# - name: Install BeeFactory
# run: npm install -g @ethersphere/bee-factory
#
# - name: Start Bee Nodes
# run: bee-factory start --detach "${{env.BeeNet_IT_NodeVersion}}"
#
# - name: Run integration tests
# run: dotnet test --configuration Release
- name: Generate nuget package
run: dotnet pack --configuration Release -o nupkg
- name: Push packages
run: dotnet nuget push './nupkg/*.nupkg' --api-key ${{secrets.MYGET_APIKEY}} --source https://www.myget.org/F/etherna/api/v3/index.json