Workflows: minor updates
This commit is contained in:
parent
7979563cb5
commit
589290c6df
7
.github/workflows/release-tests.yml
vendored
7
.github/workflows/release-tests.yml
vendored
|
@ -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
|
||||
|
|
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue