Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry08 committed Nov 11, 2023
1 parent 4babf87 commit e8a05eb
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
pull_request:

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true

jobs:
pack:
runs-on: windows-latest
Expand Down Expand Up @@ -48,6 +53,11 @@ jobs:
name: SoundCloudDownloader
path: SoundCloudDownloader/

- name: Create package
# Change into the artifacts directory to avoid including the directory itself in the zip archive
working-directory: SoundCloudDownloader/
run: zip -r ../SoundCloudDownloader.zip .

- name: Checkout
uses: actions/checkout@v3

Expand All @@ -67,11 +77,6 @@ jobs:
echo "$TAG_MESSAGE" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Create package
# Change into the artifacts directory to avoid including the directory itself in the zip archive
working-directory: SoundCloudDownloader/
run: zip -r ../SoundCloudDownloader.zip .

- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e8a05eb

Please sign in to comment.