diff --git a/.github/workflows/wireproxy.yml b/.github/workflows/wireproxy.yml index b1da8b8..fc8ccce 100644 --- a/.github/workflows/wireproxy.yml +++ b/.github/workflows/wireproxy.yml @@ -14,14 +14,21 @@ jobs: env: workdir: ./WirePorxy - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} steps: - name: Checkout code uses: actions/checkout@master with: fetch-depth: 0 + + - name: Set env + run: | + echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + + - name: Test + run: | + echo $RELEASE_VERSION + echo ${{ env.RELEASE_VERSION }} - name: Git clone WirePorxy run: |