File tree 3 files changed +9
-14
lines changed
3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 32
32
- run : ./build.sh release -c
33
33
name : Release
34
34
35
- - uses : actions/upload-artifact@v4
36
- with :
37
- name : elastic-distribution
38
- path : ${{ env.RELEASE_DISTRO }}
39
-
40
35
- name : Generate build provenance (Distribution)
41
36
uses : actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
42
37
with :
47
42
with :
48
43
subject-path : " ${{ github.workspace }}/${{ env.RELEASE_PACKAGES }}"
49
44
50
-
51
45
# Push to feedz.io
52
46
- name : publish canary packages to feedz.io
53
47
run : dotnet nuget push '${{ env.RELEASE_PACKAGES }}' -k ${{ secrets.FEEDZ_IO_API_KEY }} -s ${{ secrets.FEEDZ_IO_API_URL }} --skip-duplicate --no-symbols
Original file line number Diff line number Diff line change @@ -35,21 +35,22 @@ jobs:
35
35
- run : ./build.sh release
36
36
name : Release
37
37
38
- - name : Attach Distribution to release
39
- env :
40
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
- run : |
42
- gh release upload ${{ github.ref_name }} "${{ env.RELEASE_DISTRO }}"
43
-
44
38
- name : Generate build provenance (Distribution)
45
39
uses : actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
46
40
with :
47
- subject-path : " ${{ github.workspace }}/${{ env.RELASE_DISTRO }}"
41
+ subject-path : " ${{ github.workspace }}/${{ env.RELEASE_DISTRO }}"
48
42
49
43
- name : Generate build provenance (Packages)
50
44
uses : actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
51
45
with :
52
46
subject-path : " ${{ github.workspace }}/${{ env.RELEASE_PACKAGES }}"
47
+
48
+ - name : Attach Distribution to release
49
+ if : ${{ github.event_name == 'release' }}
50
+ env :
51
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
+ run : |
53
+ gh release upload ${{ github.ref_name }} '${{ env.RELEASE_DISTRO }}'
53
54
54
55
- name : Release to Nuget (only for release events)
55
56
if : ${{ github.event_name == 'release' }}
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ let stageInstrumentationScript (stagedZips:List<ReleaseAsset * FileInfo>) =
129
129
let wrapperScript = downloadFileInfo " instrument.sh"
130
130
let copyScript = Path.Combine( " src" , " Elastic.OpenTelemetry.AutoInstrumentation" , " instrument.sh" ) |> FileInfo
131
131
let script = copyScript.CopyTo( wrapperScript.FullName, true )
132
- ( stageVersion , script)
132
+ ( stageScript , script)
133
133
134
134
let stageInstallationBashScript () =
135
135
let installScript = downloadFileInfo " otel-dotnet-auto-install.sh"
You can’t perform that action at this time.
0 commit comments