ci: verify the GitHub release artifact
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -16,4 +16,4 @@ jobs:
|
||||
with:
|
||||
node-version: '22'
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npm run check
|
||||
@@ -17,9 +17,11 @@ jobs:
|
||||
with:
|
||||
node-version: '22'
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npm run check
|
||||
- name: Package dist/
|
||||
run: tar -czf "green-tea-site-${{ github.ref_name }}.tar.gz" -C dist .
|
||||
- name: Verify .htaccess in archive
|
||||
run: tar -tzf "green-tea-site-${{ github.ref_name }}.tar.gz" | grep -Fx './.htaccess'
|
||||
- name: Attach to GitHub release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user