diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 046f4e3..b3144bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: # - develop env: - RUN_TMATE: ${{ secrets.RUN_TMATE }} + RUN_TMATE: true jobs: build: @@ -64,7 +64,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: ${{ matrix.bin }} - path: ${{ matrix.bin }} + path: ./ release: name: go-release runs-on: ubuntu-latest @@ -76,9 +76,14 @@ jobs: with: path: bin - name: chmod executable - run: chmod +x pca-linux-amd64 + run: chmod +x bin/pca-linux-amd64/pca-linux-amd64 - name: Set Tag Version - run: echo "VERSION=v$(./bin/pca-linux-amd64 -version)" >> $GITHUB_ENV + run: | + echo "VERSION=v$(./bin/pca-linux-amd64/pca-linux-amd64 -version)" \ + >> $GITHUB_ENV + - name: Setup tmate debug session + uses: mxschmitt/action-tmate@v3 + if: env.RUN_TMATE - name: Create Release uses: actions/github-script@v6 with: diff --git a/con-pca-tasks b/con-pca-tasks deleted file mode 100755 index c9ee671..0000000 Binary files a/con-pca-tasks and /dev/null differ