diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 31814ce..14250db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,6 +108,8 @@ jobs: - uses: ncipollo/release-action@v1 with: allowUpdates: true + name: Pre-release build ${{ needs.createRelease.outputs.output }} + prerelease: true tag: ${{ needs.createRelease.outputs.output }} artifacts: ${{ matrix.projectPath }}-${{ matrix.targetPlatform }}.zip token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 52789c4..ada11d9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,4 @@ -name: Unity Build Project +name: Unity Build Release on: push: @@ -109,9 +109,15 @@ jobs: name: ${{ matrix.projectPath }}-${{ matrix.targetPlatform }} path: build + - name: Extract branch name + shell: bash + run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/releases/})" + id: extract_branch + - uses: ncipollo/release-action@v1 with: allowUpdates: true tag: ${{ needs.createRelease.outputs.output }} + name: Release ${{ steps.extract_branch.outputs.branch }} artifacts: ${{ matrix.projectPath }}-${{ matrix.targetPlatform }}.zip token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.idea/.idea.cubes/.idea/workspace.xml b/.idea/.idea.cubes/.idea/workspace.xml index b7312ef..3bfdc26 100644 --- a/.idea/.idea.cubes/.idea/workspace.xml +++ b/.idea/.idea.cubes/.idea/workspace.xml @@ -11,11 +11,15 @@ + + + + + + + + + + @@ -79,6 +99,13 @@ + + + + + + + @@ -90,4 +117,8 @@ + + +