mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-23 00:04:30 +00:00
Revert "Update build workflow upload-artifact@v3 to v4"
This reverts commit 1ae775a31b
.
This commit is contained in:
parent
f3f4f7dfb1
commit
b55b73ef4e
5 changed files with 64 additions and 11 deletions
2
.github/workflows/build-for-me.yml
vendored
2
.github/workflows/build-for-me.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
||||||
include-hidden-files: true
|
include-hidden-files: true
|
||||||
name: cached-localnet
|
name: cached-localnet
|
||||||
path: .localnet
|
path: .localnet
|
||||||
- name: Save seednode JARs
|
- name: save seednode JARs
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: haveno-seednode-tar
|
name: haveno-seednode-tar
|
||||||
|
|
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
@ -26,18 +26,17 @@ 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@v4
|
- uses: actions/upload-artifact@v3
|
||||||
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@v4
|
uses: actions/upload-artifact@v3
|
||||||
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: |
|
||||||
|
@ -100,41 +99,41 @@ jobs:
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|
||||||
# win
|
# win
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v3
|
||||||
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@v4
|
- uses: actions/upload-artifact@v3
|
||||||
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@v4
|
- uses: actions/upload-artifact@v3
|
||||||
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@v4
|
- uses: actions/upload-artifact@v3
|
||||||
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@v4
|
- uses: actions/upload-artifact@v3
|
||||||
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@v4
|
- uses: actions/upload-artifact@v3
|
||||||
name: "Linux - flatpak artifact"
|
name: "Linux - flatpak artifact"
|
||||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||||
with:
|
with:
|
||||||
|
|
29
.github/workflows/codacy-code-reporter.yml
vendored
Normal file
29
.github/workflows/codacy-code-reporter.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: Codacy Coverage Reporter
|
||||||
|
|
||||||
|
on: ["push"]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
if: github.repository == 'haveno-dex/haveno'
|
||||||
|
name: Publish coverage
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up JDK 21
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '21'
|
||||||
|
distribution: 'adopt'
|
||||||
|
|
||||||
|
- name: Build with Gradle
|
||||||
|
run: ./gradlew clean build -x checkstyleMain -x checkstyleTest -x shadowJar
|
||||||
|
|
||||||
|
- name: Run codacy coverage reporter
|
||||||
|
uses: codacy/codacy-coverage-reporter-action@v1.3.0
|
||||||
|
with:
|
||||||
|
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||||
|
coverage-reports: ${{ github.workspace }}/build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -18,7 +18,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
|
|
25
.github/workflows/label.yml
vendored
Normal file
25
.github/workflows/label.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: Comment to label
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [labeled]
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
issueLabeled:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Bounty explanation
|
||||||
|
uses: peter-evans/create-or-update-comment@v3
|
||||||
|
if: github.event.label.name == '💰bounty'
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
issue-number: ${{ github.event.issue.number }}
|
||||||
|
body: >
|
||||||
|
There is a bounty on this issue. The amount is in the title. The reward will be awarded to the first person or group of people whose solution is accepted and merged.
|
||||||
|
|
||||||
|
|
||||||
|
In some cases, we may assign the issue to specific contributors. We expect contributors to provide a PR in a reasonable time frame or, in case of an extensive work, updates on their progress. We will unassign the issue if we feel the assignee is not responsive or has abandoned the task.
|
||||||
|
|
||||||
|
|
||||||
|
Read the [full conditions and details](https://github.com/haveno-dex/haveno/blob/master/docs/bounties.md) of our bounty system.
|
Loading…
Reference in a new issue