Compare commits
2 Commits
bac32ace61
...
draggable
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c0a4f49a6 | |||
|
0b07f6a5a4
|
@@ -2,8 +2,11 @@ name: Package build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- draggable
|
||||
tags:
|
||||
- 'mod*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -28,14 +31,23 @@ jobs:
|
||||
tools: composer
|
||||
- name: install dependencies
|
||||
run: |
|
||||
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.14.0/krankerl_0.14.0_amd64.deb
|
||||
sudo dpkg -i krankerl_0.14.0_amd64.deb
|
||||
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.13.3/krankerl_0.13.3_amd64.deb
|
||||
sudo dpkg -i krankerl_0.13.3_amd64.deb
|
||||
- name: package
|
||||
run: |
|
||||
uname -a
|
||||
RUST_BACKTRACE=1 krankerl --version
|
||||
RUST_BACKTRACE=1 krankerl package
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: https://data.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: Deck app tarball
|
||||
path: build/artifacts/deck.tar.gz
|
||||
- name: Attach tarball to release
|
||||
uses: svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2
|
||||
id: attach_to_release
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: build/artifacts/deck.tar.gz
|
||||
asset_name: deck.tar.gz
|
||||
tag: ${{ github.ref }}
|
||||
overwrite: true
|
||||
|
||||
Reference in New Issue
Block a user