Skip to content

Commit

Permalink
make build work locally and for github
Browse files Browse the repository at this point in the history
  • Loading branch information
schmitzhermes committed Nov 16, 2023
1 parent 0d7de4f commit e7ebab6
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 130 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run build
env:
BUILD_NUMBER: ${{ github.run_number }}
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
Expand Down
30 changes: 14 additions & 16 deletions manifest.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp">
<Id>5895e001-5268-40ba-9136-54fea7e9b4a3</Id>
<Version>1.0.0.2</Version>
<ProviderName>Contoso</ProviderName>
<Version>1.0.0.BUILD</Version>
<ProviderName>L21s</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="l21s-powerpoint-addin"/>
<Description DefaultValue="A template to get started."/>
<IconUrl DefaultValue="https://l21s.github.io/test/assets/icon-32.png"/>
<HighResolutionIconUrl DefaultValue="https://l21s.github.io/test/assets/icon-64.png"/>
<SupportUrl DefaultValue="https://www.contoso.com/help"/>
<DisplayName DefaultValue="L21s"/>
<IconUrl DefaultValue="https://localhost:3000/assets/icon-32.png"/>
<HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/icon-64.png"/>
<AppDomains>
<AppDomain>https://www.contoso.com</AppDomain>
<AppDomain>https://l21s.de</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Presentation"/>
</Hosts>
<DefaultSettings>
<SourceLocation DefaultValue="https://l21s.github.io/test/taskpane.html"/>
<SourceLocation DefaultValue="https://localhost:3000/taskpane.html"/>
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
Expand Down Expand Up @@ -62,23 +60,23 @@
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://l21s.github.io/test/assets/icon-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://l21s.github.io/test/assets/icon-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://l21s.github.io/test/assets/icon-80.png"/>
<bt:Image id="Icon.16x16" DefaultValue="https://localhost:3000/assets/icon-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://localhost:3000/assets/icon-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://localhost:3000/assets/icon-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812"/>
<bt:Url id="Commands.Url" DefaultValue="https://l21s.github.io/test/commands.html"/>
<bt:Url id="Taskpane.Url" DefaultValue="https://l21s.github.io/test/taskpane.html"/>
<bt:Url id="Commands.Url" DefaultValue="https://localhost:3000/commands.html"/>
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000/taskpane.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GetStarted.Title" DefaultValue="Get started with your sample add-in!"/>
<bt:String id="GetStarted.Title" DefaultValue="L21s PowerPoint Addin"/>
<bt:String id="CommandsGroup.Label" DefaultValue="Commands Group"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="L21s"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="GetStarted.Description" DefaultValue="Your sample add-in loaded succesfully. Go to the HOME tab and click the 'Show Taskpane' button to get started."/>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to Show a Taskpane"/>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to Show L21s Taskpane"/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
Expand Down
Loading

0 comments on commit e7ebab6

Please sign in to comment.