Skip to content

Commit

Permalink
Add release.yaml
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 7e29a0e
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:29:41 2023 +0100

    Install gettext not msgfmt in release.yaml

commit 840fc44
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:28:42 2023 +0100

    Install msgfmt in release.yaml

commit a8b67cd
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:27:32 2023 +0100

    Fix make statement in release.yaml

commit 8e05b62
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:26:09 2023 +0100

    Fix make statement in release.yaml

commit 4f666ca
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:25:24 2023 +0100

    Fix apt install in release.yaml

commit e37bada
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:24:29 2023 +0100

    Fix missing 'uses' in release.yaml

commit a704d91
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:23:29 2023 +0100

    Fix if statement in release.yaml

commit e302f12
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:21:41 2023 +0100

    Fix typo in release.yaml

commit 9bfb826
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:21:15 2023 +0100

    Fix typo in release.yaml

commit 0728976
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:20:46 2023 +0100

    Fix typo in release.yaml

commit 885fdfa
Author: Sebastien Laclau <seb.laclau@gmail.com>
Date:   Thu Oct 19 13:18:14 2023 +0100

    Add release.yaml
  • Loading branch information
slaclau committed Oct 19, 2023
1 parent 46162e1 commit db0a37f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Prepare GitHub release"

on:
push:

jobs:
zip:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: zip
run: |
sudo apt-get install make gettext
make zip-file
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: zip
path: "*.zip"
- name: Release (pre)
uses: softprops/action-gh-release@v1
with:
files: "*.zip"
prerelease: true
if: contains(github.ref_name,'rc') && github.ref_type == 'tag'
- name: Release
uses: softprops/action-gh-release@v1
with:
files: "*.zip"
if: "!contains(github.ref_name,'rc') && github.ref_type == 'tag'"

0 comments on commit db0a37f

Please sign in to comment.