Skip to content

Commit 8696ac6

Browse files
authored
Use Windows release builds for most CI tasks (#284)
Now that the 0.60.0 release has been done, we can move back onto Windows release builds for nightlies, release, and PR checks. Breakage against main stays on nightlies as that is the correct behavior for it all the time.
1 parent 3ac5991 commit 8696ac6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/nightlies.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
.\make.ps1 -Command build;
8484
.\make.ps1 -Command install;
8585
.\make.ps1 -Command package;
86-
$version = (Get-Date).ToString("yyyyMMdd"); cloudsmith push raw --version $version --api-key $env:CLOUDSMITH_API_KEY --summary "Pony dependency manager tool" --description "https://github.com/ponylang/corral" ponylang/nightlies build\corral-x86-64-pc-windows-msvc.zip
86+
$version = (Get-Date).ToString("yyyyMMdd"); cloudsmith push raw --version $version --api-key $env:CLOUDSMITH_API_KEY --summary "Pony dependency manager tool" --description "https://github.com/ponylang/corral" ponylang/releases build\corral-x86-64-pc-windows-msvc.zip
8787
env:
8888
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
8989
- name: Send alert on failure
@@ -106,13 +106,13 @@ jobs:
106106
- name: Build and upload
107107
run: |
108108
python.exe -m pip install --upgrade cloudsmith-cli
109-
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/nightlies/raw/versions/latest/ponyc-arm64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
109+
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/releases/raw/versions/latest/ponyc-arm64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
110110
Expand-Archive -Path C:\ponyc.zip -DestinationPath C:\ponyc;
111111
$env:PATH = 'C:\ponyc\bin;' + $env:PATH;
112112
.\make.ps1 -Command build;
113113
.\make.ps1 -Command install;
114114
.\make.ps1 -Command package;
115-
$version = (Get-Date).ToString("yyyyMMdd"); cloudsmith push raw --version $version --api-key $env:CLOUDSMITH_API_KEY --summary "Pony dependency manager tool" --description "https://github.com/ponylang/corral" ponylang/nightlies build\corral-arm64-pc-windows-msvc.zip
115+
$version = (Get-Date).ToString("yyyyMMdd"); cloudsmith push raw --version $version --api-key $env:CLOUDSMITH_API_KEY --summary "Pony dependency manager tool" --description "https://github.com/ponylang/corral" ponylang/releases build\corral-arm64-pc-windows-msvc.zip
116116
env:
117117
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
118118
- name: Send alert on failure

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- uses: actions/checkout@v4.1.1
9898
- name: Test with most recent ponyc release
9999
run: |
100-
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/nightlies/raw/versions/latest/ponyc-arm64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
100+
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/releases/raw/versions/latest/ponyc-arm64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
101101
Expand-Archive -Path C:\ponyc.zip -DestinationPath C:\ponyc;
102102
$env:PATH = 'C:\ponyc\bin;' + $env:PATH;
103103
.\make.ps1 -Command test 2>&1

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
- name: Build and upload
143143
run: |
144144
python.exe -m pip install --upgrade cloudsmith-cli
145-
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/nightlies/raw/versions/latest/ponyc-arm64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
145+
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/releases/raw/versions/latest/ponyc-arm64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
146146
Expand-Archive -Path C:\ponyc.zip -DestinationPath C:\ponyc;
147147
$env:PATH = 'C:\ponyc\bin;' + $env:PATH;
148148
.\make.ps1 -Command build;

0 commit comments

Comments
 (0)