mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-22 07:44:33 +00:00
Upgrade GH workflows to remove deprecation notices (#1545)
This commit is contained in:
parent
97475d84e9
commit
88b6bed93e
2 changed files with 13 additions and 12 deletions
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
|
@ -26,22 +26,23 @@ jobs:
|
||||||
cache: gradle
|
cache: gradle
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build --stacktrace --scan
|
run: ./gradlew build --stacktrace --scan
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: error-reports-${{ matrix.os }}
|
name: error-reports-${{ matrix.os }}
|
||||||
path: ${{ github.workspace }}/desktop/build/reports
|
path: ${{ github.workspace }}/desktop/build/reports
|
||||||
- name: cache nodes dependencies
|
- name: cache nodes dependencies
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
include-hidden-files: true
|
include-hidden-files: true
|
||||||
name: cached-localnet
|
name: cached-localnet
|
||||||
path: .localnet
|
path: .localnet
|
||||||
|
overwrite: true
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt-get update
|
||||||
sudo apt install -y rpm libfuse2 flatpak flatpak-builder appstream
|
sudo apt-get install -y rpm libfuse2 flatpak flatpak-builder appstream
|
||||||
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
- name: Install WiX Toolset
|
- name: Install WiX Toolset
|
||||||
if: ${{ matrix.os == 'windows-latest' }}
|
if: ${{ matrix.os == 'windows-latest' }}
|
||||||
|
@ -99,41 +100,41 @@ jobs:
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|
||||||
# win
|
# win
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
name: "Windows artifacts"
|
name: "Windows artifacts"
|
||||||
if: ${{ matrix.os == 'windows-latest'}}
|
if: ${{ matrix.os == 'windows-latest'}}
|
||||||
with:
|
with:
|
||||||
name: haveno-windows
|
name: haveno-windows
|
||||||
path: ${{ github.workspace }}/release-windows
|
path: ${{ github.workspace }}/release-windows
|
||||||
# macos
|
# macos
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
name: "macOS artifacts"
|
name: "macOS artifacts"
|
||||||
if: ${{ matrix.os == 'macos-13' }}
|
if: ${{ matrix.os == 'macos-13' }}
|
||||||
with:
|
with:
|
||||||
name: haveno-macos
|
name: haveno-macos
|
||||||
path: ${{ github.workspace }}/release-macos
|
path: ${{ github.workspace }}/release-macos
|
||||||
# linux
|
# linux
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
name: "Linux - deb artifact"
|
name: "Linux - deb artifact"
|
||||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||||
with:
|
with:
|
||||||
name: haveno-linux-deb
|
name: haveno-linux-deb
|
||||||
path: ${{ github.workspace }}/release-linux-deb
|
path: ${{ github.workspace }}/release-linux-deb
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
name: "Linux - rpm artifact"
|
name: "Linux - rpm artifact"
|
||||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||||
with:
|
with:
|
||||||
name: haveno-linux-rpm
|
name: haveno-linux-rpm
|
||||||
path: ${{ github.workspace }}/release-linux-rpm
|
path: ${{ github.workspace }}/release-linux-rpm
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
name: "Linux - AppImage artifact"
|
name: "Linux - AppImage artifact"
|
||||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||||
with:
|
with:
|
||||||
name: haveno-linux-appimage
|
name: haveno-linux-appimage
|
||||||
path: ${{ github.workspace }}/release-linux-appimage
|
path: ${{ github.workspace }}/release-linux-appimage
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
name: "Linux - flatpak artifact"
|
name: "Linux - flatpak artifact"
|
||||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||||
with:
|
with:
|
||||||
|
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v3
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
|
@ -68,4 +68,4 @@ jobs:
|
||||||
run: ./gradlew build --stacktrace -x test -x checkstyleMain -x checkstyleTest
|
run: ./gradlew build --stacktrace -x test -x checkstyleMain -x checkstyleTest
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v2
|
uses: github/codeql-action/analyze@v3
|
||||||
|
|
Loading…
Reference in a new issue