test-project2/.gitea/workflows/test-flow.yml

44 lines
1.2 KiB
YAML

name: Test Workflow
on:
pull_request:
branches: '*'
push:
branches: '*'
jobs:
test:
name: "Publish"
runs-on: ubuntu-latest
steps:
- name: "Clone project repository"
uses: actions/checkout@v3
- name: "Dump environment"
run: env
- name: Dump GitHub context
run: echo '${{ toJSON(github) }}'
- name: Dump job context
run: echo '${{ toJSON(job) }}'
- name: Dump steps context
run: echo '${{ toJSON(steps) }}'
- name: Dump runner context
run: echo '${{ toJSON(runner) }}'
- name: Dump strategy context
run: echo '${{ toJSON(strategy) }}'
- name: Dump matrix context
run: echo '${{ toJSON(matrix) }}'
- name: Dump vars context
run: echo '${{ toJSON(vars) }}'
- name: Dump secrets context
run: echo '${{ toJSON(secrets) }}'
- name: "Create release"
uses: bozemanpass/action-gh-release@gitea-testing
with:
tag_name: "v1.2.7"
files: README.md
#- name: "Upload release artifact"
# uses: bozemanpass/action-gh-release@gitea-testing
# with:
# tag_name: "v1.2.3"
# files: README.md