Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunderscore committed Sep 24, 2023
1 parent b85a63f commit a57f992
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
prechecks:
runs-on: ubuntu-latest
outputs:
version: ${{ needs.prechecks.outputs.version }}
version: ${{ steps.version.outputs.version }}
need-new-tag: ${{ steps.check-tag.outputs.need-new-tag }}
steps:
- name: Checkout
Expand Down Expand Up @@ -68,18 +68,19 @@ jobs:
id: semver-check
run: |
chmod +x .github/workflows/*.sh
.github/workflows/check-semver-syntax.sh ${{ needs.prechecks.outputs.version }}
.github/workflows/check-semver-syntax.sh ${{ steps.version.outputs.version }}
- name: Check tag consistency
if: startsWith(github.ref, 'refs/tags/')
run: |
if [ "${{ needs.prechecks.outputs.version }}" != "${GITHUB_REF##*/}" ]; then
echo "Version in package.json does not match tag name: ${{ needs.prechecks.outputs.version }} != ${GITHUB_REF##*/}"
if [ "${{ steps.version.outputs.version }}" != "${GITHUB_REF##*/}" ]; then
echo "Version in package.json does not match tag name: ${{ steps.version.outputs.version }} != ${GITHUB_REF##*/}"
exit 1
fi
create-release:
needs: [prechecks, run-tests]
#needs: [prechecks, run-tests]
needs: [prechecks]
runs-on: ubuntu-latest
if: needs.prechecks.outputs.need-new-tag == 'true' || startsWith(github.ref, 'refs/tags/')
permissions:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nadena.dev.ndmf",
"displayName": "Non-Destructive Modular Framework",
"version": "1.0.0-ci.4",
"version": "1.0.0-ci.5",
"unity": "2019.4",
"description": "A framework for building non-destructive plugins for VRChat Avatar 3.0",
"vrchatVersion": "2022.1.1",
Expand Down

0 comments on commit a57f992

Please sign in to comment.