Skip to content

Commit

Permalink
needs
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsgrill committed Oct 17, 2024
1 parent 26cf18f commit e11eece
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
runs-on: windows-latest
needs: build
steps:
- run: echo "VERSION ${{ need.build.outputs.VERSION }}"
- run: echo "VERSION ${{ needs.build.outputs.VERSION }}"
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
Expand All @@ -127,7 +127,7 @@ jobs:
_input-file: PotatoDrive-vars.wxi.tpl
_output-file: PotatoDrive-vars.wxi
_format-key: '%%key%%'
Version: ${{ need.build.outputs.VERSION}}
Version: ${{ needs.build.outputs.VERSION}}
- uses: actions/upload-artifact@v4
with:
name: PotatoDrive-vars.wxi
Expand All @@ -140,14 +140,14 @@ jobs:
run: wix build PotatoDrive.wxs -arch x64
- uses: actions/upload-artifact@v4
with:
name: PotatoDrive_${{ need.build.outputs.VERSION}}.msi
name: PotatoDrive_${{ needs.build.outputs.VERSION}}.msi
path: PotatoDrive.msi

debian-packages:
runs-on: ubuntu-latest
needs: build
steps:
- run: echo "VERSION ${{ need.build.outputs.VERSION }}"
- run: echo "VERSION ${{ needs.build.outputs.VERSION }}"
- name: Install tools
run: |
sudo apt update
Expand All @@ -174,12 +174,12 @@ jobs:
dpkg-buildpackage --target-arch amd64 --host-arch amd64 -b
- uses: actions/upload-artifact@v4
with:
name: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_armhf.deb"
path: "./cmd/potatodrive-proxy_${{ need.build.outputs.VERSION}}_armhf.deb"
name: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_armhf.deb"
path: "./cmd/potatodrive-proxy_${{ needs.build.outputs.VERSION}}_armhf.deb"
- uses: actions/upload-artifact@v4
with:
name: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_amd64.deb"
path: "./cmd/potatodrive-proxy_${{ need.build.outputs.VERSION}}_amd64.deb"
name: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_amd64.deb"
path: "./cmd/potatodrive-proxy_${{ needs.build.outputs.VERSION}}_amd64.deb"

release:
runs-on: ubuntu-latest
Expand All @@ -201,16 +201,16 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
- uses: actions/download-artifact@master
with:
name: PotatoDrive_${{ need.build.outputs.VERSION}}.msi
path: PotatoDrive_${{ need.build.outputs.VERSION}}.msi
name: PotatoDrive_${{ needs.build.outputs.VERSION}}.msi
path: PotatoDrive_${{ needs.build.outputs.VERSION}}.msi
- uses: actions/download-artifact@v1
with:
name: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_armhf.deb"
path: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_armhf.deb"
name: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_armhf.deb"
path: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_armhf.deb"
- uses: actions/download-artifact@v1
with:
name: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_amd64.deb"
path: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_amd64.deb"
name: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_amd64.deb"
path: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_amd64.deb"
- name: upload Installer
uses: actions/upload-release-asset@v1
env:
Expand All @@ -226,15 +226,15 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_amd64.deb"
asset_name: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_amd64.deb"
asset_path: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_amd64.deb"
asset_name: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_amd64.deb"
asset_content_type: application/x-deb
- name: upload armhf deb
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_armhf.deb"
asset_name: "potatodrive-proxy_${{ need.build.outputs.VERSION}}_armhf.deb"
asset_path: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_armhf.deb"
asset_name: "potatodrive-proxy_${{ needs.build.outputs.VERSION}}_armhf.deb"
asset_content_type: application/x-deb

0 comments on commit e11eece

Please sign in to comment.