Skip to content

Commit

Permalink
[AMEND] Workflow amend, put build part back in
Browse files Browse the repository at this point in the history
  • Loading branch information
NikRimington committed Oct 1, 2024
1 parent 468ac85 commit eeb7b3b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+*"

jobs:
# build:
build:

# runs-on: windows-latest
runs-on: windows-latest

# steps:
steps:

# - name: Checkout repository
# uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

# - name: Setup .NET v6
# uses: actions/setup-dotnet@v2
# with:
# dotnet-version: 6.0.x
- name: Setup .NET v6
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x

# - name: Setup .NET v8
# uses: actions/setup-dotnet@v2
# with:
# dotnet-version: 8.0.x
- name: Setup .NET v8
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.0.x

# - name: Build project
# run: dotnet build src\AccessibleMediaPicker\HCS.Media.AccessibleMediaPicker.csproj --configuration Release
- name: Build project
run: dotnet build src\AccessibleMediaPicker\HCS.Media.AccessibleMediaPicker.csproj --configuration Release

pack:
runs-on: windows-latest
#needs: build
needs: build
if: github.event_name == 'push'
steps:

Expand All @@ -53,7 +53,7 @@ jobs:
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV

- name: Show VERSION
run: echo "${VERSION}"
run: echo "$VERSION"

- name: Pack
run: dotnet pack src\AccessibleMediaPicker\HCS.Media.AccessibleMediaPicker.csproj --output ./artifacts --configuration Release -p:Version=$VERSION
Expand Down

0 comments on commit eeb7b3b

Please sign in to comment.