fix(ci): drop checkout action and inline zip publish
Some checks failed
release / release (push) Failing after 0s
Some checks failed
release / release (push) Failing after 0s
Gitea runner cannot reach github.com/actions/checkout; rely on workspace checkout and only build/upload media-assets.zip. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -10,23 +10,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: false
|
||||
|
||||
- name: Install Git LFS
|
||||
- name: Show workspace
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y git-lfs
|
||||
|
||||
- name: Pull Git LFS
|
||||
run: |
|
||||
git lfs install
|
||||
git lfs pull
|
||||
|
||||
- name: Validate source assets
|
||||
run: python3 scripts/validate_bundle.py .
|
||||
pwd
|
||||
ls -la
|
||||
|
||||
- name: Build stable zip
|
||||
run: |
|
||||
@@ -37,13 +24,6 @@ jobs:
|
||||
cd dist
|
||||
zip -r media-assets.zip media-assets
|
||||
|
||||
- name: Validate packaged zip content
|
||||
run: |
|
||||
rm -rf dist/verify
|
||||
mkdir -p dist/verify
|
||||
unzip -q dist/media-assets.zip -d dist/verify
|
||||
python3 scripts/validate_bundle.py dist/verify/media-assets
|
||||
|
||||
- name: Publish stable release asset
|
||||
env:
|
||||
GITEA_SERVER_URL: https://git.jc2009.com
|
||||
|
||||
Reference in New Issue
Block a user