fix build errors
All checks were successful
Build and Deploy React Package / build-and-publish (push) Successful in 1m49s
All checks were successful
Build and Deploy React Package / build-and-publish (push) Successful in 1m49s
This commit is contained in:
@@ -10,7 +10,7 @@ env:
|
|||||||
# The URL of your Gitea instance (without http:// or https://)
|
# The URL of your Gitea instance (without http:// or https://)
|
||||||
GITEA_INSTANCE_URL: git.deowl.ru
|
GITEA_INSTANCE_URL: git.deowl.ru
|
||||||
# The full name of your package (e.g., 'myusername/myproject')
|
# The full name of your package (e.g., 'myusername/myproject')
|
||||||
PACKAGE_NAME: vkrb/quantum_frontend
|
PACKAGE_NAME: vkrb/molecular_frontend
|
||||||
# Node.js version to use
|
# Node.js version to use
|
||||||
NODE_VERSION: "24"
|
NODE_VERSION: "24"
|
||||||
|
|
||||||
@@ -82,29 +82,25 @@ jobs:
|
|||||||
VERSION="${{ gitea.sha }}"
|
VERSION="${{ gitea.sha }}"
|
||||||
|
|
||||||
# Upload the tarball
|
# Upload the tarball
|
||||||
curl --fail-with-body \
|
curl --user ${{ gitea.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} \
|
||||||
--netrc \
|
--upload-file package.tar.gz \
|
||||||
--upload-file package.tar.gz \
|
|
||||||
"https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/${VERSION}/package.tar.gz"
|
"https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/${VERSION}/package.tar.gz"
|
||||||
|
|
||||||
# Upload the checksum file
|
# Upload the checksum file
|
||||||
curl --fail-with-body \
|
curl --user ${{ gitea.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} \
|
||||||
--netrc \
|
--upload-file package.tar.gz.sha256 \
|
||||||
--upload-file package.tar.gz.sha256 \
|
|
||||||
"https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/${VERSION}/package.tar.gz.sha256"
|
"https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/${VERSION}/package.tar.gz.sha256"
|
||||||
|
|
||||||
# 9. (Optional) Create a latest version for convenience
|
# 9. (Optional) Create a latest version for convenience
|
||||||
- name: Update latest version
|
- name: Update latest version
|
||||||
run: |
|
run: |
|
||||||
# Upload as 'latest' version
|
# Upload as 'latest' version
|
||||||
curl --fail-with-body \
|
curl --user ${{ gitea.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} \
|
||||||
--netrc \
|
--upload-file package.tar.gz \
|
||||||
--upload-file package.tar.gz \
|
|
||||||
"https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/latest/package.tar.gz"
|
"https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/latest/package.tar.gz"
|
||||||
|
|
||||||
curl --fail-with-body \
|
curl --user ${{ gitea.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} \
|
||||||
--netrc \
|
--upload-file package.tar.gz.sha256 \
|
||||||
--upload-file package.tar.gz.sha256 \
|
|
||||||
"https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/latest/package.tar.gz.sha256"
|
"https://${{ env.GITEA_INSTANCE_URL }}/api/packages/${{ gitea.repository_owner }}/generic/${{ env.PACKAGE_NAME }}/latest/package.tar.gz.sha256"
|
||||||
|
|
||||||
# 10. Clean up
|
# 10. Clean up
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import {
|
|||||||
IconLogout,
|
IconLogout,
|
||||||
IconSettings2,
|
IconSettings2,
|
||||||
IconUsers,
|
IconUsers,
|
||||||
|
type Icon,
|
||||||
type IconProps,
|
type IconProps,
|
||||||
} from "@tabler/icons-react";
|
} from "@tabler/icons-react";
|
||||||
import {
|
import {
|
||||||
@@ -32,9 +33,7 @@ import CustomButton from "Components/CustomButton/CustomButton";
|
|||||||
|
|
||||||
interface SubtleLinkButtonProps {
|
interface SubtleLinkButtonProps {
|
||||||
link: string;
|
link: string;
|
||||||
Icon: ForwardRefExoticComponent<
|
Icon: ForwardRefExoticComponent<IconProps & React.RefAttributes<Icon>>;
|
||||||
IconProps & React.RefAttributes<SVGSVGElement>
|
|
||||||
>;
|
|
||||||
text: string;
|
text: string;
|
||||||
color: string;
|
color: string;
|
||||||
selected?: boolean;
|
selected?: boolean;
|
||||||
|
|||||||
@@ -51,8 +51,7 @@ function InstancesListCard(props: { instance: InstanceData; plugin: string }) {
|
|||||||
<Card
|
<Card
|
||||||
className="InstancesListCard"
|
className="InstancesListCard"
|
||||||
orientation="horizontal"
|
orientation="horizontal"
|
||||||
onClick={(ev) => {
|
onClick={(ev: Event) => {
|
||||||
console.log("A");
|
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
navigate(props.instance.instance_id.toString());
|
navigate(props.instance.instance_id.toString());
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ function TeamMemberCard(props: { cur_team: Team; member: TeamMember }) {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<UnstyledButton
|
<UnstyledButton
|
||||||
onClick={(e) => {
|
onClick={(e: Event) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
deleteMember({
|
deleteMember({
|
||||||
team_id: props.cur_team.id,
|
team_id: props.cur_team.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user