Skip to content

jx_layout_editor DND progress #1

jx_layout_editor DND progress

jx_layout_editor DND progress #1

Workflow file for this run

on:
workflow_call:
inputs:
pkg-name:
required: true
forge-name:
required: true
secrets:
api-key:
required: true
ssh-key:
required: true
update-homebrew

Check failure on line 13 in .github/workflows/app-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/app-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
required: false
default: ""
jobs:
upload-release-pkgs:
name: Upload
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: release
- name: Save release packages
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ${{ inputs.pkg-name }}?*.*
file_glob: true
update-sourceforge:
name: "-"
needs: [ upload-release-pkgs ]
uses: ./.github/workflows/app-mirror-sourceforge.yml
with:
forge-name: ${{ inputs.forge-name }}
secrets:
api-key: ${{ secrets.api-key }}
ssh-key: ${{ secrets.ssh-key }}
publish-version:
name: Publish version
needs: [ update-sourceforge ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update version & docs
run: |
echo "${{ secrets.ssh-key }}" > ssh-key
chmod 0600 ssh-key
scp -o StrictHostKeyChecking=no -i ssh-key release/VERSION release/doc/* jafl,${{ inputs.forge-name }}@web.sourceforge.net:htdocs/;
update-homebrew:
name: Update Homebrew Formulas
runs-on: ubuntu-latest
needs: [ upload-release-pkgs ]
if: ${{ secrets.update-homebrew != '' }}
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.update-homebrew }}
repository: jafl/homebrew-jx
event-type: new-release