Skip to content

Commit

Permalink
ci: update test job
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGemmaJr committed Jun 14, 2024
1 parent 8ca0c27 commit 002406d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/workflow-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 002406d

Please sign in to comment.