Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BFergerson authored Oct 14, 2024
1 parent 2d03d5e commit f99cb17
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
name: Download Release
name: Download and Republish Release

# Controls when the workflow will run
on:
workflow_dispatch:

jobs:


get_asset:

runs-on: ubuntu-latest

steps:

- name: List Releases
run: gh release list --repo voqal/browser-dev
env:
Expand All @@ -30,8 +25,18 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_TOKEN }}

- name: See what we downloaded
- name: List Downloaded Files
run: ls

- name: Inspect content
run: cat hello.txt
release:
runs-on: ubuntu-latest
needs: get_asset
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Upload Downloaded Assets as New Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create "${{ github.ref_name }}" **/*.dmg **/*.msi **/*.deb -t "${{ github.ref_name }}" --draft --generate-notes

0 comments on commit f99cb17

Please sign in to comment.