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
|
||||
run: |
|
||||
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 }}."
|
||||
tag-only-job:
|
||||
runs-on: ci-tools
|
||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
needs: Explore-Gitea-Actions
|
||||
steps:
|
||||
- run: mkdir -p build
|
||||
- uses: actions/download-artifact@master
|
||||
with:
|
||||
name: build
|
||||
path: build
|
||||
- run: tree .
|
||||
- run: echo "Generate release"
|
Loading…
Reference in New Issue
Block a user