Skip to content

Update to 7.10.1

Update to 7.10.1 #3

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
releaseVersion:
required: true
type: string
description: "Version to be released, like 1.2.3"
nextVersion:
required: true
type: string
description: "Version to be set afterwards, like 1.2.4-SNAPSHOT"
dryRun:
required: true
default: true
type: boolean
description: "Uncheck to actually execute the release"
selfHostedRunner:
required: true
default: false
type: boolean
description: "Has no effect, just as a reminder that the self-hosted windows runner must be running"
jobs:
build:
uses: ./.github/workflows/buildNative.yml
release:
needs: [build]
runs-on: ubuntu-latest
env:
githubReleasesUrl: https://api.github.com/repos/{{github.repository}}/releases
steps:
- uses: actions/checkout@v4
name: "Check out source"

Check failure on line 35 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 35
- name: "Display structure of working directory"
run: ls .
- uses: actions/download-artifact@v4
name: "Download native artifacts"
with:
path: ~/artifacts
- name: "Display structure of artifacts folder"
run: ls -R ~/artifacts
- name: "Copy artifacts to include folders"
run: |
mv ~/artifacts/coreLinux/* ./releases/linux-amd64-release/include/executables/
chmod +x ./releases/linux-amd64-release/include/executables/nzbhydra2
mv ~/artifacts/coreWindows/* ./releases/windows-release/include/executables/
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: 'maven'
- name: "Run release script"
run: |
misc/build-and-release.sh ${{ github.event.inputs.releaseVersion }} ${{ github.event.inputs.nextVersion }} ${{ github.event.inputs.dryRun }}