diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 9f7d955..c1682a5 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -35,7 +35,7 @@ jobs: languages: c - uses: actions/checkout@v4 - name: Build and Install - uses: ./ + uses: fcitx/fcitx5-ci@main with: path: . - name: Test diff --git a/action.yml b/action.yml deleted file mode 100644 index 2b2b838..0000000 --- a/action.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: 'Build and install xcb-imdkit' - -inputs: - path: - description: 'Path to source code' - default: 'xcb-imdkit' - install-prefix: - description: 'Install prefix' - default: '/opt/fcitx' - -runs: - using: composite - steps: - - name: Checkout - if: github.repository != 'fcitx/xcb-imdkit' - uses: actions/checkout@v4 - with: - repository: fcitx/xcb-imdkit - path: ${{ inputs.path }} - - name: Configure - shell: bash - run: | - cmake -S "${{ inputs.path }}" -B "${{ inputs.path }}"/build -DCMAKE_INSTALL_PREFIX="${{ inputs.install-prefix }}" - - name: Build - shell: bash - run: | - cmake --build "${{ inputs.path }}"/build - - name: Install - shell: bash - run: | - cmake --install "${{ inputs.path }}"/build -