summaryrefslogtreecommitdiff
path: root/.github/workflows/pull-request.yml
blob: 0c460eb9fe806e5126182fb178db623d6fa9ffb8 (plain)
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
name: "Check symlinks and build theme"

on: pull_request

jobs:
  check:
    name: Check for dangling symlinks
    runs-on: ubuntu-latest

    permissions:
      pull-requests: write

    steps:
      - name: Check out the repo
        uses: actions/checkout@v2
      - name: Check symlinks and build theme
        shell: bash
        run: |
          sudo apt-get update
          sudo apt install -y libgtk-3-dev optipng --no-install-recommends
          ./configure
          make test
          make
          cd build
          tar -cf elementary-xfce.tar.gz *
      - name: Upload theme artifact
        uses: actions/upload-artifact@v3
        with:
          name: elementary-xfce
          path: build/elementary-xfce.tar.gz