fix date prefix for prod builds

This commit is contained in:
neil 2022-11-23 13:37:39 +08:00
parent db6563330c
commit d9b05ba501
3 changed files with 18 additions and 10 deletions

View file

@ -46,7 +46,15 @@ jobs:
toolchain: stable toolchain: stable
- name: install app dependencies and build it - name: install app dependencies and build it
run: pnpm install && pnpm --filter gui build run: pnpm install && pnpm --filter gui build
- name: Get current date
id: date
run: echo "date=date::$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- run: echo ${{ steps.date.outputs.date }}_test
build_tauri: build_tauri:
needs: changes needs: changes
if: needs.changes.outputs.tauri == 'true' if: needs.changes.outputs.tauri == 'true'

View file

@ -104,7 +104,7 @@ jobs:
- name: Get current date - name: Get current date
id: date id: date
run: echo "date=date::$(date +'%Y-%m-%dT%H:%M:%S')" >> >> $GITHUB_OUTPUT run: echo "date=date::$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT
- name: mac-os cp package images from prod to gui bucket - name: mac-os cp package images from prod to gui bucket
if: matrix.platform == 'macos-latest' if: matrix.platform == 'macos-latest'

View file

@ -8,17 +8,17 @@ html {
} }
@font-face { @font-face {
font-family: "pp-neue-machina"; font-family: "pp-neue-machina";
src: url("../static/fonts/PPNeueMachina-InktrapLight.woff"); src: url("../static/fonts/PPNeueMachina-InktrapLight.woff");
} }
@font-face { @font-face {
font-family: "sono"; font-family: "sono";
src: url("../static/fonts/Sono-Light.woff2"); src: url("../static/fonts/Sono-Light.woff2");
} }
@layer base { @layer base {
html { html {
font-family: sono, sans-serif; font-family: sono, sans-serif;
} }
} }