Skip to content

Commit

Permalink
Fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBrumbler committed Nov 25, 2023
1 parent 8a6c566 commit b4dacb0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish QPM Package
env:
module_id: questui
qmod_name: QuestUI

on:
push:
tags:
Expand All @@ -12,16 +12,16 @@ on:
jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
name: Checkout
with:
submodules: true
lfs: true

- uses: seanmiddleditch/gha-setup-ninja@v3

- name: Create ndkpath.txt
run: |
echo "$ANDROID_NDK_LATEST_HOME" > ${GITHUB_WORKSPACE}/ndkpath.txt
Expand All @@ -41,19 +41,19 @@ jobs:
restore: true
cache: true
publish: true
publish_token: ${{ secrets.QPM_KEY }}
publish_token: ${{ secrets.QPM_PUBLISH_KEY }}
version: ${{ steps.get_tag_version.outputs.VERSION }}
tag: ${{ steps.get_tag_version.outputs.TAG }}
qpm_release_bin: true
qpm_debug_bin: true
qpm_qmod: ${{ env.qmod_name }}.qmod

- name: Build
run: |
cd ${GITHUB_WORKSPACE}
qpm qmod build --isLibrary=true
pwsh -Command ./build.ps1
- name: Create Qmod
run: |
pwsh -Command ./createqmod.ps1 ${{env.qmod_name}}
Expand All @@ -67,15 +67,15 @@ jobs:
repository: ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get Release Upload URL
id: get_upload_url
run: |
url=$(echo "$response" | jq -r '.upload_url')
echo $url
echo "upload_url=$url" >> ${GITHUB_OUTPUT}
env:
env:
response: ${{ steps.get_release.outputs.data }}

- name: Get Library Name
Expand Down

0 comments on commit b4dacb0

Please sign in to comment.