Skip to content

トリあえず最初のPR #1

トリあえず最初のPR

トリあえず最初のPR #1

Workflow file for this run

on:
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: torisetsu
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
distribution: 'adopt'
- name: grant execute permission for gradlew
run: chmod +x gradlew
- name: build
run: |
./gradlew build
- uses: actions/checkout@v4
- name: Check file existence
id: check_files
working-directory: torisetsu/build/dist/js/productionExecutable
uses: andstor/file-existence-action@v3

Check failure on line 28 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 28, Col: 9): Unexpected value 'uses' .github/workflows/build.yml (Line: 29, Col: 9): Unexpected value 'with'
with:
files: "index.html, torisetsu.js"
- name: File exists
if: steps.check_files.outputs.files_exists == 'true'
run: echo All files exists!