diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b73904..e6ecc23 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,11 +3,11 @@ name: release on: push: - branches: - - develop + # branches: + # - develop env: - RUN_TMATE: ${{ secrets.RUN_TMATE }} + RUN_TMATE: true jobs: build: @@ -65,6 +65,8 @@ jobs: name: go-release runs-on: ubuntu-latest needs: build + env: + EXECUTABLE: bin/pca-linux-amd64/pca-linux-amd64 steps: - uses: actions/checkout@v3 - name: Download to artifacts @@ -72,7 +74,10 @@ jobs: with: path: bin - name: Make retrieved artifact executable - run: chmod +x bin/pca-linux-amd64/pca-linux-amd64 + run: chmod +x ./${{ env.EXECUTABLE }} + - name: Setup tmate debug session + uses: mxschmitt/action-tmate@v3 + if: env.RUN_TMATE - name: Set Tag Version run: | echo "VERSION=v$(./bin/pca-linux-amd64/pca-linux-amd64 -version)" \ diff --git a/con-pca-tasks b/con-pca-tasks new file mode 100755 index 0000000..2d58e8d Binary files /dev/null and b/con-pca-tasks differ