diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2012140..669bb67 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [ main ] +env: + C_INCLUDE_PATH: $GITHUB_WORKSPACE/include + jobs: format: runs-on: ubuntu-latest @@ -24,6 +27,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Extract XNG headers + run: echo "${{ secrets.XNG_HEADER_0 }}" | base64 --decode > XNG_HEADER_0; + echo "${{ secrets.XNG_HEADER_1 }}" | base64 --decode > XNG_HEADER_1; + cat XNG_HEADER_0 XNG_HEADER_1 | tar --zstd -xv - uses: actions/cache@v2 with: path: | @@ -43,6 +50,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Extract XNG headers + run: echo ${{ secrets.XNG_HEADER_0 }} ${{ secrets.XNG_HEADER_0 }} | base64 --decode | tar --zstd -xv - uses: actions/cache@v2 with: path: |