Update .gitea/workflows/ci.yml
This commit is contained in:
parent
0127b5f87d
commit
d36ef2bdec
@ -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"
|
Loading…
Reference in New Issue
Block a user