Skip to content

Commit 1aeca16

Browse files
authored
Merge pull request #139 from IShix-g/release
Release
2 parents 0264b4e + b608fd6 commit 1aeca16

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/build-release-package-exporter_merge.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,15 @@ jobs:
126126
with:
127127
name: ${{ needs.build-package.outputs.package-name }}
128128

129-
- name: Upload Build Artifact
130-
uses: actions/upload-artifact@v4
131-
with:
132-
name: build-package
133-
path: ./${{ needs.build-package.outputs.package-name }}
129+
- name: Upload Package
130+
if: ${{ !inputs.dry-run }}
131+
env:
132+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
133+
run: |
134+
file="./${{ needs.build-package.outputs.package-name }}"
135+
latest_release="${{ needs.update-packagejson.outputs.normalized-tag }}"
136+
gh release upload "$latest_release" "$file"
137+
echo "::notice title=Uploaded new asset::$file"
134138
135139
clean-branch:
136140
needs: [validate-branch, update-packagejson, merge-and-push, build-package, release-notes, create-release, upload-package]

Packages/SimplePackage/Scripts/TestScript.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ namespace SimplePackage.Scripts
44
public sealed class TestScript
55
{
66
public string Message => "Hello World! from Test simple package";
7-
public string Message2 => "Hello World! from Test simple package 2";
87
}
98
}

0 commit comments

Comments
 (0)