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

Commit

Permalink
real branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdeafcafe committed Apr 27, 2020
1 parent e8ab93d commit 6135132
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- uses: actions/checkout@v2
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: branch_name
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
Expand All @@ -33,4 +37,4 @@ jobs:
account_id: ${{ secrets.AWS_ACCOUNT_ID }}
repo: branch-dotnet-services
region: eu-west-2
tags: latest,${{ github.sha }},${GITHUB_REF##*/}
tags: latest,${{ github.sha }},${{ steps.branch_name.outputs.branch }}

0 comments on commit 6135132

Please sign in to comment.