diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-02 13:46:24 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-02 13:46:24 +0900 |
| commit | 145ccd1c9289d708c7d836cb4a3a98440ddf7fb3 (patch) | |
| tree | 9100a8b6a9bdd9ac51ab5d9d4a41cf88e306ebe1 | |
| parent | c5089cad7883d0157ca5339ed6e43fb18ad2c838 (diff) | |
remove .github
This is no longer needed after discontinuation of the Microsoft GitHub mirror.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | .github/workflows/README | 5 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 46 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 48 |
3 files changed, 0 insertions, 99 deletions
diff --git a/.github/workflows/README b/.github/workflows/README deleted file mode 100644 index 86a2b357..00000000 --- a/.github/workflows/README +++ /dev/null @@ -1,5 +0,0 @@ -DO NOT ADD NEW ACTIONS HERE - -This port is solely for releasing to the github mirror and serves no purpose during development. -All development happens at https://git.gensokyo.uk/security/hakurei. If you wish to contribute, -request for an account on git.gensokyo.uk.
\ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index dbd35d15..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Release - -on: - push: - tags: - - 'v*' - -jobs: - release: - name: Create release - runs-on: ubuntu-latest - - permissions: - packages: write - contents: write - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install Nix - uses: nixbuild/nix-quick-install-action@v32 - with: - nix_conf: | - keep-env-derivations = true - keep-outputs = true - - - name: Restore and cache Nix store - uses: nix-community/cache-nix-action@v6 - with: - primary-key: build-${{ runner.os }}-${{ hashFiles('**/*.nix') }} - restore-prefixes-first-match: build-${{ runner.os }}- - gc-max-store-size-linux: 1G - purge: true - purge-prefixes: build-${{ runner.os }}- - purge-created: 60 - purge-primary-key: never - - - name: Build for release - run: nix build --print-out-paths --print-build-logs .#dist - - - name: Release - uses: softprops/action-gh-release@v2 - with: - files: |- - result/hakurei-** diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index e4226cf4..00000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Test - -on: - - push - -jobs: - dist: - name: Create distribution - runs-on: ubuntu-latest - permissions: - actions: write - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install Nix - uses: nixbuild/nix-quick-install-action@v32 - with: - nix_conf: | - keep-env-derivations = true - keep-outputs = true - - - name: Restore and cache Nix store - uses: nix-community/cache-nix-action@v6 - with: - primary-key: build-${{ runner.os }}-${{ hashFiles('**/*.nix') }} - restore-prefixes-first-match: build-${{ runner.os }}- - gc-max-store-size-linux: 1G - purge: true - purge-prefixes: build-${{ runner.os }}- - purge-created: 60 - purge-primary-key: never - - - name: Build for test - id: build-test - run: >- - export HAKUREI_REV="$(git rev-parse --short HEAD)" && - sed -i.old 's/version = /version = "0.0.0-'$HAKUREI_REV'"; # version = /' package.nix && - nix build --print-out-paths --print-build-logs .#dist && - mv package.nix.old package.nix && - echo "rev=$HAKUREI_REV" >> $GITHUB_OUTPUT - - - name: Upload test build - uses: actions/upload-artifact@v4 - with: - name: "hakurei-${{ steps.build-test.outputs.rev }}" - path: result/* - retention-days: 1 |
