Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
niwaniwa committed Sep 11, 2023
1 parent a368c8e commit 997e676
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest

outputs:
package_name: ${{ steps.set_outputs.outputs.package_name }}
version: ${{ steps.set_outputs.outputs.version }}

steps:

- name: Checkout
Expand Down Expand Up @@ -69,4 +74,17 @@ jobs:
files: |
${{ env.zipFile }}
${{ env.unityPackage }}
Packages/${{ env.packageName }}/package.json
Packages/${{ env.packageName }}/package.json
- name: Set outputs
id: set_outputs
run: |
echo "version=${{ steps.version.outputs.prop }}" >> "$GITHUB_OUTPUT"
publish-vpm:
uses: niwaniwa/vpm.niri.la/.github/workflows/update.yml@main
needs: [build]
with:
repository_name: playercounter
version: ${{ needs.build.outputs.version }}
secrets:
access-token: ${{ secrets.ACCESS_REPO }}

0 comments on commit 997e676

Please sign in to comment.