6565 name : macro-plugin-x86_64
6666 path : ./artifacts
6767
68- - name : Create Universal Macro Plugin and Artifact Bundle
68+ - name : Create Universal Macro Plugin
6969 run : |
7070 cd artifacts
7171
@@ -77,38 +77,13 @@ jobs:
7777 lipo -info ReerCodableMacros
7878 file ReerCodableMacros
7979
80- # Create artifact bundle structure
81- mkdir -p ReerCodableMacros.artifactbundle/macos/bin
82- cp ReerCodableMacros ReerCodableMacros.artifactbundle/macos/bin/
83-
84- # Create info.json
85- cat > ReerCodableMacros.artifactbundle/info.json << EOF
86- {
87- "schemaVersion": "1.0",
88- "artifacts": {
89- "ReerCodableMacros": {
90- "version": "${{ github.ref_name }}",
91- "type": "executable",
92- "variants": [
93- {
94- "path": "macos/bin/ReerCodableMacros",
95- "supportedTriples": ["x86_64-apple-macosx", "arm64-apple-macosx"]
96- }
97- ]
98- }
99- }
100- }
101- EOF
102-
10380 # Create zip archive
104- zip -r ReerCodableMacros.artifactbundle. zip ReerCodableMacros.artifactbundle
81+ zip ReerCodableMacros.zip ReerCodableMacros
10582
106- echo "=== Artifact Bundle Contents ==="
107- unzip -l ReerCodableMacros.artifactbundle. zip
83+ echo "=== Zip Contents ==="
84+ unzip -l ReerCodableMacros.zip
10885
10986 - name : Upload to GitHub Release
11087 uses : softprops/action-gh-release@v2
11188 with :
112- files : |
113- artifacts/ReerCodableMacros
114- artifacts/ReerCodableMacros.artifactbundle.zip
89+ files : artifacts/ReerCodableMacros.zip
0 commit comments