changing the way that pipelines work
This commit is contained in:
@@ -23,16 +23,21 @@ jobs:
|
||||
run: sudo apt-get install zip jq curl -y
|
||||
- name: Install JS dependencies
|
||||
run: npm install
|
||||
- name: Prepare release
|
||||
run: bash scripts/prepare_release.sh
|
||||
- name: Run build
|
||||
run: npm run build
|
||||
- name: Prepare release
|
||||
- name: Upload dist artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
- name: Package release zip
|
||||
run: |
|
||||
bash scripts/prepare_release.sh
|
||||
mv dist vision-start/
|
||||
mv manifest.json vision-start/
|
||||
- name: Create zip archive
|
||||
run: zip -r vision-start-${{ gitea.ref_name }}.zip vision-start
|
||||
- name: Upload artifact
|
||||
cp -r dist vision-start/
|
||||
cp manifest.json vision-start/
|
||||
zip -r vision-start-${{ gitea.ref_name }}.zip vision-start
|
||||
- name: Upload release zip artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: release-zip
|
||||
@@ -103,6 +108,12 @@ jobs:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Download dist artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
|
||||
- name: Log in to Container Registry
|
||||
run: |
|
||||
echo "${{ secrets.REGISTRY_PASSWORD }}" \
|
||||
|
||||
Reference in New Issue
Block a user