Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build-all-and-release.yml #1138

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 31 additions & 34 deletions .github/workflows/build-all-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,37 +114,34 @@ jobs:
path: |
*.zip

SendReleases:
runs-on: ubuntu-latest
needs: [macos, linux, windows]

steps:

- name: Generate Changelog
run: echo "# Changelog" > ${{ github.workspace }}-CHANGELOG.txt

- uses: actions/download-artifact@v4
with:
name: verge-windows.zip
path: home/runner/work/verge/verge/verge-windows.zip
- uses: actions/download-artifact@v4
with:
name: verge-macos.zip
path: home/runner/work/verge/verge/verge-macos.zip
- uses: actions/download-artifact@v4
with:
name: verge-linux.zip
path: home/runner/work/verge/verge/verge-linux.zip
- name: list files
run: ls /home/runner/work/verge/verge/

- name: push zips to release
uses: softprops/action-gh-release@v1
with:
tag_name: v7.3.0
files: |
/home/runner/work/verge/verge/home/runner/work/verge/verge/verge-windows.zip/verge-windows.zip
/home/runner/work/verge/verge/home/runner/work/verge/verge/verge-macos.zip/verge-macos.zip
/home/runner/work/verge/verge/home/runner/work/verge/verge/verge-linux.zip/verge-linux.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SendReleases:
runs-on: ubuntu-latest
needs: [macos, linux, windows]

steps:
- name: Generate Changelog
run: echo "# Changelog" > CHANGELOG.txt

- uses: actions/download-artifact@v4
with:
name: verge-windows.zip
- uses: actions/download-artifact@v4
with:
name: verge-macos.zip
- uses: actions/download-artifact@v4
with:
name: verge-linux.zip

- name: list files
run: ls

- name: push zips to release
uses: softprops/action-gh-release@v1
with:
tag_name: v7.3.0
files: |
verge-windows.zip
verge-macos.zip
verge-linux.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}