wip
This commit is contained in:
parent
3dedca4de3
commit
2c68a405be
2 changed files with 2 additions and 34 deletions
2
.github/workflows/release-if-needed.yaml
vendored
2
.github/workflows/release-if-needed.yaml
vendored
|
|
@ -9,6 +9,8 @@ jobs:
|
||||||
create:
|
create:
|
||||||
name: Create Release If Needed
|
name: Create Release If Needed
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
34
.github/workflows/release-linux.yml
vendored
34
.github/workflows/release-linux.yml
vendored
|
|
@ -1,34 +0,0 @@
|
||||||
name: Release (Linux)
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types:
|
|
||||||
- created
|
|
||||||
jobs:
|
|
||||||
appimage:
|
|
||||||
name: Build AppImage
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: docker
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Build AppImage
|
|
||||||
run: |
|
|
||||||
docker build -t appimage-builder . -f burrow-gtk/build-aux/Dockerfile
|
|
||||||
docker create --name temp appimage-builder
|
|
||||||
docker cp temp:/app/burrow-gtk/build-appimage/Burrow-x86_64.AppImage .
|
|
||||||
docker rm temp
|
|
||||||
- name: Get Build Number
|
|
||||||
id: version
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "BUILD_NUMBER=$(Tools/version.sh)" >> $GITHUB_OUTPUT
|
|
||||||
- name: Attach Artifacts
|
|
||||||
uses: SierraSoftworks/gh-releases@v1.0.7
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
release_tag: builds/${{ steps.version.outputs.BUILD_NUMBER }}
|
|
||||||
overwrite: "true"
|
|
||||||
files: |
|
|
||||||
Burrow-x86_64.AppImage
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue