diff --git a/.github/workflows/Release for Ubuntu.yml b/.github/workflows/release_for_linux_deb.yml similarity index 86% rename from .github/workflows/Release for Ubuntu.yml rename to .github/workflows/release_for_linux_deb.yml index 30c615be..c2e9b154 100644 --- a/.github/workflows/Release for Ubuntu.yml +++ b/.github/workflows/release_for_linux_deb.yml @@ -37,7 +37,8 @@ jobs: flutter_to_debian - name: upload result - uses: actions/upload-artifact@v1 + uses: ncipollo/release-action@v1.12.0 with: - name: Traintime_PDA_Ubuntu - path: ${{ github.workspace }}/build/linux/x64/release/debian/ + artifacts: > + build/linux/x64/release/debian/, + token: ${{ secrets.RELEASE_TOKEN }} diff --git a/.github/workflows/Release for Windows.yml b/.github/workflows/release_for_windows.yml similarity index 72% rename from .github/workflows/Release for Windows.yml rename to .github/workflows/release_for_windows.yml index f7f30e0c..d031b227 100644 --- a/.github/workflows/Release for Windows.yml +++ b/.github/workflows/release_for_windows.yml @@ -17,7 +17,8 @@ jobs: - run: flutter build windows --release - name: upload result - uses: actions/upload-artifact@v1 + uses: ncipollo/release-action@v1.12.0 with: - name: Traintime_PDA_Windows - path: ${{ github.workspace }}/build/windows/x64/runner/Release/ + artifacts: > + build/windows/x64/runner/Release/, + token: ${{ secrets.RELEASE_TOKEN }}