Skip to content

Commit

Permalink
chore: Update Zen Browser desktop file with new launch script and ico…
Browse files Browse the repository at this point in the history
…n paths
  • Loading branch information
mauro-balades committed Sep 1, 2024
1 parent 6cc2c05 commit cb18fc3
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/publish-tar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ on:
description: 'Version to publish'
required: true
default: 'latest'
push:
branches:
- main

jobs:
publish-tar:
permissions: write-all
name: Publish tar as release
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && startsWith(github.event.commits.message, '[release]:'))

steps:
- name: Checkout
Expand All @@ -20,15 +24,19 @@ jobs:
- name: Archive
run: tar -cf archive.tar ./*

- name: Output version from file to variable
id: version
run: echo "::set-output name=version::$(cat version)"

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: archive.tar
tag_name: ${{ github.event.inputs.version }}
name: Release for Zen - ${{ github.event.inputs.version }}
tag_name: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || steps.version.outputs.version }}
name: Release for Zen - ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || steps.version.outputs.version }}
body: |
### Release ${{ github.event.inputs.version }}
### Release ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || steps.version.outputs.version }}
- sha: ${{ github.sha }}

0 comments on commit cb18fc3

Please sign in to comment.