Skip to content

Commit

Permalink
Remove unnecessary artifact uploading/downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdothtml committed Jun 1, 2024
1 parent 4a2be38 commit d7710de
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- 'v*.*.*'

jobs:
build:
build_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -25,24 +25,6 @@ jobs:
GOOS=windows GOARCH=386 go build -o bin/gpt_cmd-windows-386.exe
GOOS=windows GOARCH=amd64 go build -o bin/gpt_cmd-windows.exe
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: binaries
path: bin/*
retention-days: 1

release:
runs-on: ubuntu-latest
needs: build
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: binaries
- name: Create release
uses: ncipollo/release-action@v1.14.0
with:
Expand Down

0 comments on commit d7710de

Please sign in to comment.