diff --git a/.gitea/workflows/continuous.yml b/.gitea/workflows/continuous.yml deleted file mode 100644 index c3e308f..0000000 --- a/.gitea/workflows/continuous.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: continuous - -on: - push: - branches: [main] - workflow_dispatch: - -jobs: - continuous: - name: Publish continuous release - runs-on: nix - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Build Rust core - run: nix build .#aac --print-build-logs - - - name: Package VPM zip - env: - VPM_VERSION: 0.0.1-continuous - VPM_RELEASE_BASE: ${{ github.server_url }}/${{ github.repository }}/releases/download/continuous - run: nix develop -c bash ./vpm/package.sh - - - name: Publish release and upload zip - env: - TOKEN: ${{ secrets.VPM_TOKEN || secrets.GITHUB_TOKEN }} - SERVER: ${{ github.server_url }} - REPO: ${{ github.repository }} - TAG: continuous - VPM_VERSION: 0.0.1-continuous - run: nix develop -c bash ./vpm/publish.sh - - # The index carries the zip's sha256, which only exists after packaging. - - name: Commit updated VPM index - env: - TOKEN: ${{ secrets.VPM_TOKEN || secrets.GITHUB_TOKEN }} - SERVER: ${{ github.server_url }} - REPO: ${{ github.repository }} - run: | - set -euo pipefail - git config user.name gitea-actions - git config user.email actions@git.scug.io - git add vpm/index.json - git diff --cached --quiet && exit 0 - git commit -m "vpm: continuous index update" - git push "https://x-access-token:$TOKEN@${SERVER#https://}/${REPO}.git" HEAD:main diff --git a/vpm/index.json b/vpm/index.json index 15b4803..4eaea60 100644 --- a/vpm/index.json +++ b/vpm/index.json @@ -23,22 +23,6 @@ "author": { "name": "doloro" } - }, - "0.0.1-continuous": { - "name": "dev.doloro.animator-as-crab", - "displayName": "Animator As Crab", - "version": "0.0.1-continuous", - "unity": "2019.4", - "description": "Writes Animator Controllers from a Rhai script, evaluated by the libaac native library.", - "url": "https://git.scug.io/doloro/av3-animation-as-crab/releases/download/continuous/dev.doloro.animator-as-crab-0.0.1-continuous.zip", - "zipSHA256": "39c159b39e5a57648a96360c7dbfb9766099ed4eac69f26f366f157181d65f01", - "dependencies": { - "com.unity.nuget.newtonsoft-json": "3.2.1" - }, - "vpmDependencies": {}, - "author": { - "name": "doloro" - } } } }