-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
46 lines (41 loc) · 1.52 KB
/
Copy pathaction.yml
File metadata and controls
46 lines (41 loc) · 1.52 KB
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
name: Release NuGet packages to Sylinko feed
description: Create a GitHub Release, upload NuGet assets, and open a Sylinko/nuget-feed PR.
inputs:
token:
description: Token with permission to push branches and create PRs in Sylinko/nuget-feed.
required: true
release-tag:
description: Shared GitHub Release tag containing package assets.
required: true
artifacts-directory:
description: Directory containing .nupkg and optional .symbols.nupkg or .snupkg artifacts.
required: false
default: artifacts
runs:
using: composite
steps:
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Create GitHub Release and upload package assets
shell: bash
env:
GH_TOKEN: ${{ github.token }}
RELEASE_TAG: ${{ inputs.release-tag }}
ARTIFACTS_DIRECTORY: ${{ inputs.artifacts-directory }}
run: node "$GITHUB_ACTION_PATH/.github/actions/release/create-github-release.ts"
- uses: actions/checkout@v6
with:
repository: Sylinko/nuget-feed
token: ${{ inputs.token }}
path: ${{ github.workspace }}/.nuget-feed
fetch-depth: 0
- name: Create feed release PR
shell: bash
env:
GH_TOKEN: ${{ inputs.token }}
FEED_REPOSITORY: Sylinko/nuget-feed
FEED_REPOSITORY_PATH: ${{ github.workspace }}/.nuget-feed
RELEASE_TAG: ${{ inputs.release-tag }}
ARTIFACTS_DIRECTORY: ${{ inputs.artifacts-directory }}
run: node "$GITHUB_ACTION_PATH/.github/actions/release/release.ts"