Skip to content

Commit

Permalink
chore: actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
qarlosalberto committed Jul 5, 2023
1 parent 4ee4a23 commit b5322f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set version main
if: github.ref == 'refs/heads/main'
run: |
PACKAGE_VERSION=$(cat package.json \
PACKAGE_VERSION=$(cat packages/teroshdl/package.json \
| grep version \
| head -1 \
| awk -F: '{ print $2 }' \
Expand Down Expand Up @@ -63,7 +63,11 @@ jobs:
echo ${{ env.version }}
file_ver="${{ env.version }}_${file}"
file_ver="${file_ver/:/"_"}"
mv $file ../../$file_ver
file_ver="${file_ver/ /""}"
ls
echo "${{ github.workspace }}/$file_ver"
ls ${{ github.workspace }}
mv $file ${{ github.workspace }}/$file_ver
- name: Archive vsix
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit b5322f5

Please sign in to comment.