Update .gitea/workflows/ci.yml
This commit is contained in:
@@ -17,8 +17,6 @@ jobs:
|
||||
container:
|
||||
image: ${{ vars.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
outputs:
|
||||
user_rows_file: /tmp/user_rows.txt
|
||||
avatar_rows_file: /tmp/avatar_rows.txt
|
||||
total_valid_entries: ${{ steps.generate_data.outputs.total_valid_entries }}
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
@@ -135,6 +133,14 @@ jobs:
|
||||
|
||||
echo "total_valid_entries=$total_valid_entries" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Upload data files as artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: skin-data
|
||||
path: |
|
||||
/tmp/user_rows.txt
|
||||
/tmp/avatar_rows.txt
|
||||
|
||||
update_and_push_readme:
|
||||
name: Update README and Push Changes
|
||||
runs-on: ubuntu-latest
|
||||
@@ -147,6 +153,12 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.TOKEN }}
|
||||
|
||||
- name: Download skin data artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: skin-data
|
||||
path: /tmp
|
||||
|
||||
- name: Update README with user skins
|
||||
run: |
|
||||
user_rows_file="/tmp/user_rows.txt"
|
||||
@@ -215,4 +227,3 @@ jobs:
|
||||
git push origin HEAD:main || echo "No changes to push"
|
||||
else
|
||||
git push origin HEAD:"${GITHUB_REF_NAME}" || echo "No changes to push"
|
||||
fi
|
||||
Reference in New Issue
Block a user