Skip to content

Build test and publish with Github Actions #14

Build test and publish with Github Actions

Build test and publish with Github Actions #14

Workflow file for this run

name: Makefile CI
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install openjdk-17-jdk-headless
- uses: actions/checkout@v4
- run: git submodule update --init
- run: ./build-jar.sh
- run: ./build-jar-flatlaf.sh
- uses: actions/upload-artifact@v4
with:
path: '*.jar'
- run: ./test.sh
- uses: softprops/action-gh-release@v2
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/test-ci'
permissions:

Check failure on line 22 in .github/workflows/makefile.yml

View workflow run for this annotation

GitHub Actions / Makefile CI

Invalid workflow file

The workflow is not valid. .github/workflows/makefile.yml (Line: 22, Col: 7): Unexpected value 'permissions'
contents: write
with:
files: rars-flatlaf.jar
tag_name: 'lastest'
make_latest: true