Skip to content

Commit

Permalink
🌅
Browse files Browse the repository at this point in the history
  • Loading branch information
naps62 committed Dec 12, 2023
0 parents commit f98463d
Show file tree
Hide file tree
Showing 29 changed files with 4,154 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: release

on:
workflow_dispatch:
push:
branches:
- "main"

concurrency:
group: ${{ github.workflow }}-${{ github.sha }}
permissions:
contents: write

jobs:
# build app
# upload to draft release
app:
needs: [setup]
strategy:
fail-fast: false
matrix:
platform: [ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3

- name: install dependencies (ubuntu)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf libsodium-dev libusb-dev
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: npm install -g yarn

- uses: actions/setup-node@v3
with:
cache: "yarn"
node-version-file: ".tool-versions"

- name: linux signing key setup
if: matrix.platform == 'ubuntu-20.04'
run: |
echo -n "${{ secrets.GPG_SIGNING_KEY }}" | base64 --decode > gpg.key
gpg --batch --passphrase "${{ secrets.GPG_SIGNING_KEY_PASSPHRASE }}" --import gpg.key
echo "${{ secrets.GPG_SIGNING_KEY_ID }}:6:" | gpg --import-ownertrust
rm gpg.key
- run: gpg --list-keys

- run: yarn run tauri build
env:
SIGN: 1
SIGN_KEY: ${{ secrets.GPG_SIGNING_KEY_ID }}
APPIMAGETOOL_SIGN_PASSPHRASE: ${{ secrets.GPG_SIGNING_KEY_PASSPHRASE }}
APPIMAGETOOL_FORCE_SIGN: true

- uses: actions/upload-artifact@v3
with:
name: appimage.AppImage
path: target/release/bundle/appimage/iron_1.3.0_amd64.AppImage
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
4 changes: 4 additions & 0 deletions src-tauri/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Generated by Cargo
# will have compiled files and executables
/target/

Loading

0 comments on commit f98463d

Please sign in to comment.