1
0
Fork 0
mirror of synced 2024-05-18 19:42:54 +12:00

Workflows: minor updates

This commit is contained in:
loathingKernel 2023-12-01 15:25:12 +02:00
parent 7979563cb5
commit 589290c6df
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD
2 changed files with 5 additions and 16 deletions

View file

@ -1,5 +1,5 @@
name: "Development Snapshot"
name: "Snapshot"
on:
@ -7,7 +7,7 @@ on:
jobs:
version:
name: "Describe version"
name: "Version"
runs-on: ubuntu-latest
outputs:
tag_abbrev: ${{ steps.version.outputs.tag_abbrev }}
@ -239,7 +239,8 @@ jobs:
git clone https://github.com/create-dmg/create-dmg
create-dmg/create-dmg Rare.dmg dist/Rare.App --volname Rare --volicon rare/resources/images/Rare.icns
- uses: actions/upload-artifact@v3
- name: Upload to Artifacts
uses: actions/upload-artifact@v3
with:
name: Rare-${{ needs.version.outputs.tag_abbrev }}.${{ needs.version.outputs.tag_offset }}.dmg
path: Rare.dmg

View file

@ -14,8 +14,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: "release"
- name: Set up Python
uses: actions/setup-python@v4
with:
@ -65,8 +63,6 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
ref: "release"
- name: Install build dependencies
run: |
sudo apt update
@ -105,8 +101,6 @@ jobs:
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v3
with:
ref: "release"
- uses: actions/setup-python@v4
with:
cache: pip
@ -170,8 +164,6 @@ jobs:
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v3
with:
ref: "release"
- uses: actions/setup-python@v4
with:
cache: pip
@ -202,8 +194,6 @@ jobs:
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v3
with:
ref: "release"
- uses: actions/setup-python@v4
with:
cache: pip
@ -236,8 +226,6 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
ref: "release"
- uses: actions/setup-python@v4
with:
cache: pip
@ -264,7 +252,7 @@ jobs:
git clone https://github.com/create-dmg/create-dmg
create-dmg/create-dmg Rare.dmg dist/Rare.App --volname Rare --volicon rare/resources/images/Rare.icns
- name: upload to GitHub
- name: Upload to Releases
uses: svenstaro/upload-release-action@2.2.1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}