Skip to content

Commit

Permalink
Update GitHub Actions workflow dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pbatard committed Mar 13, 2024
1 parent dce390f commit f536c77
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
submodules: recursive

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: cpp

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2

- name: Build UEFI bootloader
run: msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=${{ env.BUILD_CONFIGURATION }},Platform=${{ env.TARGET_PLATFORM }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: echo "${{ github.workspace }}/cov-analysis-win64/bin" >> $GITHUB_PATH

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2

- name: Build with Coverity
run: |
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ jobs:
echo '#define VERSION_STRING L"${{steps.set_version.outputs.version}}"' > version.h
- name: Set up Linux environment
run: sudo apt install -y ${{matrix.TARGET_PKGS}}

- name: Fix missing Risc-V header
if: matrix.TARGET_TYPE == 'riscv64'
run: sudo ln -s /usr/riscv64-linux-gnu/include/gnu/stubs-lp64d.h /usr/riscv64-linux-gnu/include/gnu/stubs-lp64.h
run: sudo apt-get update && sudo apt-get -y --no-install-recommends install ${{matrix.TARGET_PKGS}}

- name: Set up EDK2
run: |
Expand All @@ -79,14 +75,15 @@ jobs:
run: sha256sum *.efi

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: uefi-ntfs
name: ${{matrix.TARGET_TYPE}}
path: ./*.efi

- name: Create release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{secrets.GITHUB_TOKEN}}
body: "**UEFI:NTFS ${{ steps.set_version.outputs.version }}**"
files: ./*.efi
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
submodules: recursive

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2

- name: Build UEFI bootloader
run: |
Expand All @@ -39,7 +39,7 @@ jobs:
run: Get-FileHash *.efi

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: uefi-ntfs
name: ${{ matrix.TARGET_PLATFORM }}
path: ./*.efi

0 comments on commit f536c77

Please sign in to comment.