debug #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test composite actions | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
simple: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Hello | |
id: hello | |
uses: ./.github/actions/hello | |
with: | |
who-to-greet: 'Octocat' | |
- name: "Debug: Hello" | |
shell: bash | |
run: echo $OUTPUT | |
env: | |
OUTPUT: ${{ steps.hello.outputs.hello }} | |
filesystem: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Generate file | |
shell: bash | |
run: echo "HELLO WORLD" >> hello.txt | |
- uses: ./.github/actions/filesystem | |
with: | |
filepath: hello.txt | |
environment: | |
runs-on: ubuntu-latest | |
environment: dev | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/environment | |
version-bump: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Bump version | |
uses: ./.github/actions/bump-version | |
with: | |
gradle-path: build.gradle.kts | |
version-code: 111 |