Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Build alpha artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer authored Jul 24, 2022
1 parent 2a69794 commit 168ce95
Show file tree
Hide file tree
Showing 5 changed files with 872 additions and 464 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/alpha-artifact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Alpha Artifacts
on:
push:
branches:
- dev
jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
NAME: mac
- os: ubuntu-latest
NAME: linux
- os: windows-latest
NAME: windows
runs-on: ${{ matrix.os}}
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install webkit2gtk (ubuntu only)
if: matrix.NAME == 'linux'
run: >
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: Install app dependencies and build it
run: npm ci && npm run build:alpha
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Remove useless folders
run: >
rm -rf core/target/release/build
rm -rf core/target/release/deps
shell: bash
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: authme-latest-alpha-${{matrix.NAME}}-x64-installer-portable
path: core/target/release
4 changes: 2 additions & 2 deletions interface/layout/app.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="top" />

<Route path="/"><Landing /></Route>
<Route path="/confirm"><Confirm /></Route>
<!-- <Route path="/confirm"><Confirm /></Route> -->

<Route path="/codes"><Codes /></Route>
<Route path="/import"><Import /></Route>
Expand All @@ -35,7 +35,7 @@
import Settings from "../windows/settings/settings.svelte"
import Import from "../windows/import/import.svelte"
import Export from "../windows/export/export.svelte"
import Confirm from "../windows/confirm/confirm.svelte"
// import Confirm from "../windows/confirm/confirm.svelte"
import Navigation from "../components/navigation.svelte"
import Edit from "../windows/edit/edit.svelte"
Expand Down
4 changes: 2 additions & 2 deletions interface/windows/landing/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { navigate } from "../../../libraries/navigate"
import { generateRandomKey, generateSalt } from "../../../libraries/auth"
import { navigate } from "../../libraries/navigate"
import { generateRandomKey, generateSalt } from "../../libraries/auth"
import { getSettings, setSettings } from "../../stores/settings"
import { getState, setState } from "../../stores/state"

Expand Down
Loading

0 comments on commit 168ce95

Please sign in to comment.