Update .gitea/workflows/ci.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Gitea Actions Demo / tag-only-job (push) Failing after 12s

This commit is contained in:
dany 2024-07-24 13:27:31 +02:00
parent 0127b5f87d
commit d36ef2bdec

View File

@ -16,9 +16,24 @@ jobs:
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }} ls ${{ gitea.workspace }}
mkdir build
echo "tests" > build/application
- name: Save artifact
uses: actions/upload-artifact@v3
with:
name: build
path: build/
retention-days: 1
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."
tag-only-job: tag-only-job:
runs-on: ci-tools runs-on: ci-tools
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
needs: Explore-Gitea-Actions
steps: steps:
- run: mkdir -p build
- uses: actions/download-artifact@master
with:
name: build
path: build
- run: tree .
- run: echo "Generate release" - run: echo "Generate release"