Skip to content

Commit

Permalink
test build check
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Jan 1, 2025
1 parent 0771a8b commit a9903c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,4 @@ jobs:
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: StandaloneLinux64
buildMethod: Editor.Builder.BuildPackage

# Upload package to release
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./Build/dojo.unitypackage
asset_name: dojo.unitypackage
asset_content_type: application/octet-stream
buildMethod: Editor.Builder.BuildPackage
6 changes: 3 additions & 3 deletions Assets/Editor/Builder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ public static class Builder
public static void BuildPackage()
{
// Define which assets to include in the package
string[] assets = new string[]
string[] assets = new string[]
{
"Assets",
"Packages/manifest.json",
"Packages/packages-lock.json"
};
};das

// Build the package
AssetDatabase.ExportPackage(
Expand All @@ -22,4 +22,4 @@ public static void BuildPackage()
);
}
}
}
}

0 comments on commit a9903c4

Please sign in to comment.