Skip to content

Commit

Permalink
Publish workflow fix, small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Jan 5, 2022
1 parent 2617a11 commit 98de8fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 37 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ jobs:

- name: Publish project
run: |
dotnet publish -c Release -o publish/RAWSimO
dotnet publish -c Release -o publish/RAWSimO RAWSimO.Visualization/RAWSimO.Visualization.csproj
- name: Copy resource files
run: |
mkdir publish/RAWSimO/Resources
cp -r Material/Resources/* publish/RAWSimO/Resources
- name: Zip output
run: |
cd publish
Expand Down
6 changes: 0 additions & 6 deletions RAWSimO.Core/IO/IOConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,6 @@ public enum StatFile
/// </summary>
public static readonly List<string> DEFAULT_RESOURCE_DIRS = new List<string>
{
Path.Combine(Path.GetPathRoot(Path.GetFullPath(Directory.GetCurrentDirectory())), "scratch", "mmarius", "research", "awsimopt", "resources", "Wordlists"),
Path.Combine(Path.GetPathRoot(Path.GetFullPath(Directory.GetCurrentDirectory())), "scratch", "mmarius", "research", "awsimopt", "resources"),
Path.Combine(Path.GetPathRoot(Path.GetFullPath(Directory.GetCurrentDirectory())), "scratch", "mmarius", "research", "awsimopt", "repo", "Material", "Resources", "Wordlists"),
Path.Combine(Path.GetPathRoot(Path.GetFullPath(Directory.GetCurrentDirectory())), "scratch", "mmarius", "research", "awsimopt", "repo", "Material", "Resources"),
Path.Combine(Path.GetPathRoot(Path.GetFullPath(Directory.GetCurrentDirectory())), "scratch", "herbort", "storage_eval", "repo", "Material", "Resources", "Wordlists"),
Path.Combine(Path.GetPathRoot(Path.GetFullPath(Directory.GetCurrentDirectory())), "scratch", "herbort", "storage_eval", "repo", "Material", "Resources"),
Path.Combine("Material", "Resources", "Wordlists"),
Path.Combine("Material", "Resources"),
Path.Combine("repo", "Material", "Resources", "Wordlists"),
Expand Down
30 changes: 0 additions & 30 deletions Tests/RAWSimO.Core.Tests/Resources/ResourceHelper.cs

This file was deleted.

0 comments on commit 98de8fc

Please sign in to comment.