mirror of
https://github.com/zen-browser/flatpak.git
synced 2025-07-07 08:55:35 +02:00
commit
da9cc20986
1 changed files with 8 additions and 6 deletions
14
.github/workflows/publish-tar.yml
vendored
14
.github/workflows/publish-tar.yml
vendored
|
@ -1,4 +1,5 @@
|
||||||
name: Publish Tar
|
name: Publish Tar
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -17,25 +18,26 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Archive
|
- name: Archive
|
||||||
run: tar -cf archive.tar ./*
|
run: tar -cf archive.tar ./*
|
||||||
|
|
||||||
- name: Output version from file to variable
|
- name: Output version from file to variable
|
||||||
id: version
|
id: version
|
||||||
run: echo "::set-output name=version::$(cat version)"
|
run: |
|
||||||
|
echo "::set-output name=version::$(cat version)"
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
files: archive.tar
|
files: archive.tar
|
||||||
tag_name: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || steps.version.outputs.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 }}
|
name: Release for Zen - ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || steps.version.outputs.version }}
|
||||||
body: |
|
body: |
|
||||||
### Release ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || steps.version.outputs.version }}
|
### Release ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || steps.version.outputs.version }}
|
||||||
- sha: `${{ github.sha }}`
|
- sha: `${{ github.sha }}`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue