Skip to content

update action

update action #4

name: Build and Release Linux
on:
push:
tags:
- '*'
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '17'
- name: Build Compose Desktop
run: |
chmod 0777 ./gradlew
./gradlew packageDistributionForCurrentOS
ls build/compose/binaries/main
- name: Upload to Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files:
- 'build/compose/binaries/main/deb/*'

Check failure on line 33 in .github/workflows/build-linux-release.yml

View workflow run for this annotation

GitHub Actions / Build and Release Linux

Invalid workflow file

The workflow is not valid. .github/workflows/build-linux-release.yml (Line: 33, Col: 12): A sequence was not expected
- 'build/compose/binaries/main/rpm/*'
- 'build/compose/binaries/main/pkg/*'
- 'build/compose/binaries/main/appimage/*'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}