Skip to content

Commit d75aea6

Browse files
committed
feat: trigger first release
1 parent bd46397 commit d75aea6

12 files changed

Lines changed: 1 addition & 68 deletions

.github/workflows/release.yml

Lines changed: 1 addition & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,8 @@ permissions:
1515
contents: write
1616
issues: write
1717
pull-requests: write
18-
pages: write
1918
id-token: write
2019

21-
# Allow one concurrent deployment
22-
concurrency:
23-
group: "pages"
24-
cancel-in-progress: true
25-
2620
jobs:
2721
test:
2822
name: Test Rust Library
@@ -41,67 +35,9 @@ jobs:
4135
- name: Run tests
4236
run: cargo test
4337

44-
build:
45-
name: Build Demo App
46-
needs: test
47-
if: github.event_name == 'push'
48-
runs-on: ubuntu-latest
49-
steps:
50-
- uses: actions/checkout@v4
51-
52-
- name: Restore cache
53-
uses: actions/cache@v3
54-
with:
55-
path: |
56-
~/.cargo/bin
57-
~/.cargo/git
58-
~/.cargo/registry
59-
target
60-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
61-
62-
- name: Install Trunk
63-
uses: jetli/trunk-action@v0.4.0
64-
with:
65-
version: 'latest'
66-
67-
- name: Add WASM target
68-
run: rustup target add wasm32-unknown-unknown
69-
70-
- name: Build Demo App
71-
run: |
72-
cd demo
73-
RUSTFLAGS='--cfg getrandom_backend="wasm_js"' trunk build --public-url "/hipdf" --release
74-
75-
- name: Setup Pages
76-
uses: actions/configure-pages@v5
77-
78-
- name: Upload artifact
79-
uses: actions/upload-pages-artifact@v3
80-
with:
81-
path: "demo/dist"
82-
83-
deploy:
84-
name: Deploy to GitHub Pages
85-
needs: build
86-
if: github.event_name == 'push'
87-
runs-on: ubuntu-latest
88-
89-
permissions:
90-
pages: write
91-
id-token: write
92-
93-
environment:
94-
name: github-pages
95-
url: ${{ steps.deployment.outputs.page_url }}
96-
97-
steps:
98-
- name: Deploy to GitHub Pages
99-
id: deployment
100-
uses: actions/deploy-pages@v4
101-
10238
release:
10339
name: Semantic Release
104-
needs: [test, deploy]
40+
needs: [test]
10541
if: github.event_name == 'push'
10642
runs-on: ubuntu-latest
10743
permissions:

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"private": true,
33
"version": "0.0.0-development",
44
"license": "MIT",
5-
"repository": {
6-
"url": "https://github.com/duc/hipdf"
7-
},
85
"scripts": {
96
"test": "cargo test",
107
"build": "cargo build"
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)