Skip to content

Commit

Permalink
CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Apr 12, 2024
1 parent 5e4ef79 commit 1075a37
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 24 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build webadmin

on:
workflow_dispatch:
pull_request:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Restore cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin
~/.cargo/git
~/.cargo/registry
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install Trunk
uses: jetli/[email protected]
with:
version: "latest"

- name: Add wasm target
run: |
rustup override set nightly
rustup target add wasm32-unknown-unknown
- name: Install TailwindCSS Forms
run: |
npm install -D @tailwindcss/forms
- name: Build the Rust WASM app and all of its assets
run: |
trunk build --release
- name: Compress bundle
run: |
cd dist
zip -r ../webadmin.zip *
- name: Publish Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: 'webadmin.zip'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).

## [0.1.1] - 2024-04-12

## Added

### Changed

### Fixed
- IP address mask validation.
- Wrap log if too long, to prevent overflow (#1)
- Incorrect base64 alphabet is used in integrity hashes (trunk issue)

## [0.1.0] - 2024-04-09

First release of the project.
Expand Down
Loading

0 comments on commit 1075a37

Please sign in to comment.