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

Commit

Permalink
allow releases to built for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmostafa committed Feb 6, 2023
1 parent 4df411c commit 4c4f569
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 @@ -7,7 +7,7 @@ on:
# - develop

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

jobs:
build:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
Binary file removed con-pca-tasks
Binary file not shown.

0 comments on commit 4c4f569

Please sign in to comment.