diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd44afb..5403837 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,13 +24,10 @@ jobs: - name: Build run: | export LANG=C.UTF-8 - runghc ./Main.hs -j everything + runghc ./Main.hs -j build - - uses: "marvinpinto/action-automatic-releases@latest" + - uses: "softprops/action-gh-release@v2" with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest" prerelease: true - title: "Development Build" files: | build/*.zip diff --git a/Main.hs b/Main.hs index dd2e025..055c534 100644 --- a/Main.hs +++ b/Main.hs @@ -32,7 +32,8 @@ extraTableNames = "t9", "wubi98", "wubi98-pinyin", - "wubi98-single" + "wubi98-single", + "wubi98-large" ] otherTableNames :: [String] @@ -73,7 +74,7 @@ main = shakeArgs forM_ otherTableNames $ tableIMRule "fcitx5-table-other" "fcitx5-table-extra" ~> need [outputDir name <.> "zip" | name <- extraTableNames] "fcitx5-table-other" ~> need [outputDir takeBaseName name <.> "zip" | name <- otherTableNames] - "everything" ~> need ["fcitx5-table-extra", "fcitx5-table-other"] + "build" ~> need ["fcitx5-table-extra", "fcitx5-table-other"] "clean" ~> do removeFilesAfter outputDir ["//*"] diff --git a/flake.lock b/flake.lock index cea2e5a..4d40e51 100644 --- a/flake.lock +++ b/flake.lock @@ -21,11 +21,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1705309234, - "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -36,11 +36,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1705133751, - "narHash": "sha256-rCIsyE80jgiOU78gCWN3A0wE0tR2GI5nH6MlS+HaaSQ=", + "lastModified": 1721924956, + "narHash": "sha256-Sb1jlyRO+N8jBXEX9Pg9Z1Qb8Bw9QyOgLDNMEpmjZ2M=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9b19f5e77dd906cb52dade0b7bd280339d2a1f3d", + "rev": "5ad6a14c6bf098e98800b091668718c336effc95", "type": "github" }, "original": {