diff --git a/.github/workflows/workflow-package.yml b/.github/workflows/workflow-package.yml index 849887b0a..b951a3aaa 100644 --- a/.github/workflows/workflow-package.yml +++ b/.github/workflows/workflow-package.yml @@ -148,10 +148,6 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - # Set up runner - - name: ⬇️ Checkout repo - uses: actions/checkout@v4 - - name: Set matrix id: set-matrix run: | @@ -161,14 +157,6 @@ jobs: [ ${{ github.event.inputs.os }} == All ] && matrix='["windows-latest", "macOS-13", "ubuntu-latest"]' echo "matrix=$matrix" >> $GITHUB_OUTPUT - - name: Test Step - run: | - echo ${{env.PACKAGE_NAME}} - echo ${{env.PACKAGE_VERSION}} - env: - PACKAGE_NAME: "$(jq -r '.name' package.json)" - PACKAGE_VERSION: $(jq -r '.version' package.json) - package-and-upload: name: Package and Upload Installer(s) needs: setup-job @@ -192,6 +180,20 @@ jobs: with: python-version: 3.12 + # Get package info + - name: Get package name and version + id: package_info + shell: bash + run: | + echo "name=$(jq -r '.name' package.json) >> $GITHUB_OUTPUT + echo "version=$(jq -r '.version' package.json)" >> $GITHUB_OUTPUT + + # TEST + - name: test job + run: | + echo ${{steps.package_info.outputs.name }} + echo ${{steps.package_info.outputs.version }} + # # Install dependencies and set up environment # - name: 🅿️ Install Python tools # run: pip install setuptools