1
0
mirror of synced 2024-11-25 16:20:23 +01:00
ImHex/.github/workflows/release.yml
iTrooz_ 01adc8a2cd
build: Fix various CI caching issues (#553)
* removed restore-keys

* updated cache for Ubuntu 22

* using ccache on OBJC and OBJCXX

* Bonus: fix release workflow
2022-06-27 00:20:32 +02:00

39 lines
849 B
YAML

permissions:
contents: write
name: Release
on:
release:
types: [published]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Get sources
uses: actions/checkout@v3
with:
path: ImHex
submodules: recursive
- name: Create tarball from sources with dependencies
run: tar -cvf Full.Sources.tar.gz ImHex
- name: Download artifacts from latest workflow
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
branch: master
workflow_conclusion: success
skip_unpack: true
- name: Upload everything to release
uses: softprops/action-gh-release@v1
with:
files: |
*.zip
*.tar.gz