Change rc naming from x.y.zrc to x.y.z-rc
All checks were successful
Run Tests on Code / run-tests (push) Successful in 17s

This commit is contained in:
Neshura 2023-12-29 14:51:26 +01:00
parent c5f28890a8
commit 855988e947
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 17 additions and 15 deletions

View file

@ -5,7 +5,7 @@ on:
push: push:
tags: tags:
- '[0-9]+.[0-9]+.[0-9]+' - '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]+' - '[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
jobs: jobs:
test: test:
runs-on: docker runs-on: docker
@ -81,16 +81,18 @@ jobs:
if: success() if: success()
runs-on: docker runs-on: docker
steps: steps:
- name: Downloading All Build Artifacts -
uses: actions/download-artifact@v3 name: Downloading All Build Artifacts
- name: Upload Binary uses: actions/download-artifact@v3
run: | -
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \ name: Upload Binary
--upload-file release_blobs/${{ github.event.repository.name }}-linux-amd64 \ run: |
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/${{ github.event.repository.name }}-linux-amd64' echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \ --upload-file release_blobs/${{ github.event.repository.name }}-linux-amd64 \
--upload-file release_blobs/${{ github.event.repository.name }}-linux-amd64 \ https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/${{ github.event.repository.name }}-linux-amd64'
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/${{ github.event.repository.name }}-linux-amd64 curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release_blobs/${{ github.event.repository.name }}-linux-amd64 \
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/${{ github.event.repository.name }}-linux-amd64
upload-debian-package: upload-debian-package:
needs: build needs: build

View file

@ -12,11 +12,11 @@ jobs:
container: forgejo.neshweb.net/ci-docker-images/rust-node:latest container: forgejo.neshweb.net/ci-docker-images/rust-node:latest
steps: steps:
- -
name: Add Clippy name: Add Clippy
run: rustup component add clippy run: rustup component add clippy
- -
name: Checking Out Repository Code name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3 uses: https://code.forgejo.org/actions/checkout@v3
- -
name: Set Up Cargo Cache name: Set Up Cargo Cache
uses: actions/cache@v3 uses: actions/cache@v3