-
Notifications
You must be signed in to change notification settings - Fork 169
39 lines (34 loc) · 1.02 KB
/
reuse_aur_bin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: AUR BIN
on: workflow_call
jobs:
upload_aur:
environment: Main
name: AUR BIN
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
path: ./
- name: Import SSH key
id: key
run: |
echo "Importing SSH ley..."
mkdir ~/.ssh
echo "$SSH_KEY" | base64 -d > ~/.ssh/id_rsa
echo "Updating ~/.ssh/known_hosts..."
ssh-keyscan aur.archlinux.org >> ~/.ssh/known_hosts
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
echo "Step completed"
env:
SSH_KEY: ${{ secrets.ID_RSA }}
- name: Set user name and email for git
run: |
git config --global user.name "${{ secrets.USER_NAME }}"
git config --global user.email "${{ secrets.EMAIL}}"
- name: Publish AUR
id: figma-linux-actions
uses: Figma-Linux/figma-linux-actions@main
with:
action: publish_aur_bin
token: ${{ secrets.GITHUB_TOKEN }}