Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
debug moving executable to env
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmostafa committed Feb 7, 2023
1 parent d90443c commit 06bd936
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: release

on:
push:
branches:
- develop
# branches:
# - develop

env:
RUN_TMATE: ${{ secrets.RUN_TMATE }}
RUN_TMATE: true

jobs:
build:
Expand Down Expand Up @@ -65,14 +65,19 @@ 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
uses: actions/download-artifact@v3
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)" \
Expand Down
Binary file added con-pca-tasks
Binary file not shown.

0 comments on commit 06bd936

Please sign in to comment.