Skip to content

fix: save settings screen not showing on Android (fix #3032) #65

fix: save settings screen not showing on Android (fix #3032)

fix: save settings screen not showing on Android (fix #3032) #65

Workflow file for this run

name: Sources
on:
push:
branches: [master, develop]
paths:
- '.github/workflows/sources.yml'
- 'scripts/generate-sources-metadata.js'
- 'scripts/package-sources.sh'
- 'src/sites/**/model.ts'
jobs:
sources:
name: Sources
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install sites dependencies
working-directory: src/sites
run: npm ci
- name: Build sites
working-directory: src/sites
run: npm run build
- name: Generate sources metadata
run: node scripts/generate-sources-metadata.js ${{ github.ref_name }} | tee metadata.json
- name: Package sources
run: ./scripts/package-sources.sh
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: sources
path: |
metadata.json
sources_packages/*.zip
if-no-files-found: error
upload:
name: Upload to GitHub releases
runs-on: ubuntu-latest
needs: sources
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: sources
- name: Get date for body
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d %H:%M:%S %Z')"
- name: Upload result
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: sources-${{ github.ref_name }}
name: Sources (${{ github.ref_name }})
allowUpdates: true
draft: false
prerelease: true
artifacts: metadata.json,sources_packages/*.zip
body: |
Automatically uploaded by Github actions.
**Head:** ${{ github.sha }}
**Date:** ${{ steps.date.outputs.date }}
- uses: geekyeggo/delete-artifact@v1
with:
failOnError: false
name: sources