remove continuous release workflow and version entry
This commit is contained in:
@@ -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
|
|
||||||
@@ -23,22 +23,6 @@
|
|||||||
"author": {
|
"author": {
|
||||||
"name": "doloro"
|
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user