Skip to content

Commit

Permalink
Actions: Updated to upload-artifact v4
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonJoker committed Oct 13, 2024
1 parent 67dcb92 commit 6378ab1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
cmake --build . --config ${{ matrix.buildType }} --target clean
- name: Upload success package
if: (github.event_name == 'push') && (steps.build.conclusion == 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ShaderWriter-${{ matrix.os[1] }}.zip
path: ${{ github.workspace }}/ShaderWriter-${{ matrix.os[1] }}.zip
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
cmake --build . --config ${{ matrix.buildType }} --target clean
- name: Upload success package
if: (github.event_name == 'push') && (steps.build.conclusion == 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ShaderWriter-${{ matrix.os[1] }}.zip
path: ${{ github.workspace }}/ShaderWriter-${{ matrix.os[1] }}.zip
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
cmake --build . --config ${{ matrix.buildType }} --target clean
- name: Upload success package
if: (github.event_name == 'push') && (steps.build.conclusion == 'success')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ShaderWriter-${{ matrix.os[1] }}.zip
path: ${{ github.workspace }}/ShaderWriter-${{ matrix.os[1] }}.zip
2 changes: 1 addition & 1 deletion source/CompilerSpirV/SpirVHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1779,7 +1779,7 @@ namespace spirv

void ModuleConfig::addStorage( ast::var::VariablePtr var )
{
storages.emplace( var, false );
storages.try_emplace( var, false );
}

void ModuleConfig::makeWritable( ast::var::VariablePtr var )
Expand Down

0 comments on commit 6378ab1

Please sign in to comment.