Skip to content

Commit 5d6286b

Browse files
committed
add release workflow to help with releasing :fingers_crossed:
1 parent d126573 commit 5d6286b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Rapier CI build
2+
3+
on:
4+
workflow_run:
5+
workflows: [ci, links]
6+
branches: [master]
7+
types: [completed]
8+
workflow_dispatch:
9+
# workflow dispatch is to manually trigger the workflow,
10+
# useful if we want to bring an older version online or an upload failed somehow.
11+
12+
env:
13+
CARGO_TERM_COLOR: always
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Check Rsync version
21+
run: rsync --version
22+
- name: Install Linux dependencies
23+
uses: ./.github/actions/install-linux-deps
24+
- name: Setup SSH Key
25+
run: |
26+
mkdir -p ~/.ssh
27+
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_deploy
28+
chmod 600 ~/.ssh/id_deploy
29+
ssh-keyscan -H ssh.cluster003.hosting.ovh.net >> ~/.ssh/known_hosts
30+
shell: bash
31+
- name: Publish
32+
run: |
33+
./publish.sh

0 commit comments

Comments
 (0)