Skip to content

Commit

Permalink
Feat: rename artifacts (#32)
Browse files Browse the repository at this point in the history
* rename releases before uploading

* temporary removal of .tga's to transition to lfs

* fix: added install lfs and lfs pull steps

* lfs attributes and .ds_store added to gitignore

* further addition to lfs tracking

* rcb added to lfs

* ignore eol

* remove text from attributes

* add mod resources
  • Loading branch information
sargeantPig authored Oct 23, 2023
1 parent e443640 commit 12c4147
Show file tree
Hide file tree
Showing 1,562 changed files with 73,945 additions and 31 deletions.
7 changes: 6 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
*.txt text=auto
* -crlf
*.tga filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.tga.pvr filter=lfs diff=lfs merge=lfs -text
*.wfc filter=lfs diff=lfs merge=lfs -text
*.rcb filter=lfs diff=lfs merge=lfs -text
21 changes: 11 additions & 10 deletions .github/workflows/linux-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,17 @@ jobs:

- name: Create Output Directory
run: mkdir -p '${{github.workspace}}/RTWLib_Tests/bin/Debug/netcoreapp7.0/resources'


- name: Install Git LFS
run: |
git lfs install
shell: bash

- name: Pull Large Files from Git LFS
run: |
git lfs pull
shell: bash

- name: Copy Resources
run: cp -r ./RTWLib_Tests/resources/. ${{ github.workspace }}/RTWLib_Tests/bin/Debug/netcoreapp7.0/resources/

Expand All @@ -52,12 +62,3 @@ jobs:

- name: Run Tests
run: dotnet test ${{ env.Test_Project_Path }}

- name: Publish Build
run: dotnet publish ./RTWLib_CLI/RTWLib_CLI.csproj -c Release -r linux-x64 --self-contained true -o ./publish/linux-x64

- name: Publish Artifact
uses: actions/upload-artifact@v2
with:
name: RTWRand-linux
path: ${{github.workspace}}/publish/linux-x64
21 changes: 11 additions & 10 deletions .github/workflows/macos-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@ jobs:

- name: Create Output Directory
run: mkdir -p '${{github.workspace}}/RTWLib_Tests/bin/Debug/netcoreapp7.0/resources'


- name: Install Git LFS
run: |
git lfs install
shell: bash

- name: Pull Large Files from Git LFS
run: |
git lfs pull
shell: bash

- name: Copy Resources
run: cp -r ./RTWLib_Tests/resources/. ${{ github.workspace }}/RTWLib_Tests/bin/Debug/netcoreapp7.0/resources/

Expand All @@ -48,12 +58,3 @@ jobs:

- name: Run Tests
run: dotnet test ${{ env.Test_Project_Path }}

- name: Publish Build
run: dotnet publish ./RTWLib_CLI/RTWLib_CLI.csproj -c Release -r osx-x64 --self-contained true -o ./publish/osx-x64

- name: Publish Artifact
uses: actions/upload-artifact@v2
with:
name: RTWRand-macos
path: ${{github.workspace}}/publish/osx-64
17 changes: 8 additions & 9 deletions .github/workflows/windows-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ jobs:
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.2

- name: Install Git LFS
run: |
git lfs install
- name: Pull Large Files from Git LFS
run: |
git lfs pull
- name: Copy Resources
run: cp -r ./RTWLib_Tests/resources ./RTWLib_Tests/bin/Debug/netcoreapp7.0/resources

Expand All @@ -89,12 +97,3 @@ jobs:

- name: Execute unit tests
run: dotnet test ${{ env.Test_Project_Path }}

- name: Publish Build
run: dotnet publish ./RTWLib_CLI/RTWLib_CLI.csproj -c Release -r win-x64 --self-contained true -o ./publish/win-x64

- name: Publish Artifact
uses: actions/upload-artifact@v2
with:
name: RTWRand-windows
path: ./publish/win-x64
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -398,3 +398,4 @@ FodyWeavers.xsd
# JetBrains Rider
*.sln.iml
.vscode/launch.json
*.DS_Store
2 changes: 1 addition & 1 deletion RTWLibPlus/dataWrappers/ds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public string GetName()
{
return name;
}

public DS(string outputPath, string loadPath)
{
OutputPath = outputPath;
Expand Down
Binary file modified RTWLib_Tests/resources/map_regions.tga
Binary file not shown.
Binary file modified RTWLib_Tests/resources/test.tga
Binary file not shown.
Binary file modified RTWLib_Tests/resources/testcompressed.tga
Binary file not shown.
Loading

0 comments on commit 12c4147

Please sign in to comment.