diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 29bc2a7b..9c666407 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -46,7 +46,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.12" - cache: 'pip' + cache: pip - name: Install dependencies run: pip install requests diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 2b1a940f..64bd6984 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -32,6 +32,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: Variables + id: vars + run: | + VERSION=$(echo ${{ inputs.tag }} | cut -d'v' -f2) + echo "VERSION=$VERSION" >> $GITHUB_OUTPUT + # checkout code - name: Checkout Code uses: actions/checkout@v4 @@ -66,5 +72,5 @@ jobs: - name: Github Artifact uses: actions/upload-artifact@v4 with: - name: duplocloud-client-${{ inputs.tag }} + name: duplocloud-client-${{ steps.vars.outputs.VERSION }} path: dist/duplocloud-client-*.tar.gz